summaryrefslogtreecommitdiff
path: root/src/core/place.c
AgeCommit message (Collapse)AuthorFilesLines
2019-06-16Replace public MetaFrameGeometry with MetaFrameBordersVictor Kareh1-68/+68
There were actually *two* MetaFrameGeometry structs: one in theme-private.h, one in frame.h. The latter public struct was populated by a mix of (void*) casting and int pointers, usually pulling directly from the data in the private struct. Remove the public struct, replace it with MetaFrameBorders and scrap all the pointer hacks to populate it, instead relying on both structs being used in common code. This commit should be relatively straightforward, and it should not do any tricky logic at all, just a sophisticated find and replace. https://bugzilla.gnome.org/show_bug.cgi?id=644930 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/72224a165 NOTE: Patch copied from metacity and adapted for marco.
2015-09-16Add manual and by-pointer window placementFaidon Liambotis1-0/+52
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-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-62/+62
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2013-05-17Closes #44Scott Balneaves1-2/+2
2013-02-21Fix no-return-in-nonvoid-functionStefano Karapetsas1-0/+1
2013-02-20Add option to open new windows on the center of the screenStefano Karapetsas1-4/+15
Adapted from patch by Chad Glendenin available at: http://chad.glendenin.com/metacity/patch.html Closes: http://chad.glendenin.com/metacity/patch.html
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+932