summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
AgeCommit message (Collapse)AuthorFilesLines
2017-12-20Allow horizontal and vertical resizing when corner tiledOmar Zeidan1-7/+9
2017-12-20Fixes window getting reset to saved_rect when untiling from cornerOmar Zeidan1-1/+1
2017-12-20Implemented simple corner tiling by mouse dragOmar Zeidan1-5/+11
2017-08-30Store a window flag when user resizes from tiledVictor Kareh1-0/+1
Use that flag to retain the correct window size when performing other operations. Reset when re-tiling.
2017-08-29Allow tiled windows to be resized horizontallyVictor Kareh1-2/+2
Determine whether the user is initiating a resize action on a tiled window. If the user is trying to grab the window for resizing horizontally from the edge that's farther away from the screen edge, allow the resize to occur. Otherwise maintain the current tile geometry. Also modified the window hints to allow resizing from the window menu. Fixes #250
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-0/+1
2015-11-08Revert "Merge pull request #115 from Samsagax/animation-fix-clean"Monsta1-4/+0
This reverts commit 567890a8a1884247de29e9f97cf9cd8110247c04, reversing changes made to a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95.
2015-09-16Add manual and by-pointer window placementFaidon Liambotis1-0/+3
This adds a window placement preference: the existing behavior is now called "automatic" and is the default. Two new modes are being introduced: "pointer", which means that windows are placed according to the mouse pointer position; and "manual" which means that the user must manually place the new window with the mouse or keyboard. This is a straight port from muffin, commit 3257671.
2014-10-27Rework tiling code based off Consortiuminfirit1-7/+12
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
2014-10-24Fix identification of CSD windows when checking whether to force fullscreeninfirit1-0/+2
We try to exempt CSD windows from being forced fullscreen if they are undecorated and the size of the screen; however, we also catch almost all windows that *do* need to be forced fullscreen in this check, since they also have decorations turned off. Identify actual CSD windows by checking whether _GTK_FRAME_EXTENTS is set - GTK+ will always set this on CSD windows even if they have no invisible borders or shadows at the current time. Based on metacity commit: 41dd72bc5dd08d7d0cb136f694a6d9a30e38b341 From: Owen W. Taylor <[email protected]> Metacity gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=723029
2014-10-24add support for _GTK_FRAME_EXTENTSinfirit1-0/+3
Support for _GTK_FRAME_EXTENTS are based on mutter. Based on metacity commit: e132e2a700c4b50c93eae064d8fd1769b67baf06 By: Alberts Muktupāvels <[email protected]>
2014-06-26Add "effect_pending" flagJoaquín Ignacio Aramendía1-0/+4
Initialized at META_EFFECT_NONE. The management of this should be done by caller functions to effect functions.
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-30/+30
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2014-01-24Fix drag over the top screen edgeExtraterrestrial1-1/+2
2013-05-31Implement side-by-side tilingStefano Karapetsas1-1/+17
Patch by Florian Müllner for Metacity https://bugzilla.gnome.org/show_bug.cgi?id=607694 When dragging a window over a screen edge and dropping it there, maximize it vertically and scale it horizontally to cover the corresponding half of the current monitor. Whenever a "hot area" which triggers this behavior is entered, an indication of window's target size is displayed after a short delay to avoid distraction when moving a window between monitors.
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+640