Go to file
Jasper St. Pierre 2c0ad5bef7 window: Replace the user_rect with the unconstrained_rect
Realistically, the user rect contains the unconstrained window
rectangle coordinates that we want to be displaying, in case
something in the constraints change.

Rename it to the "unconstrained_rect", and change the code to always
save it, regardless of current state.

When metacity was originally being built, the purpose of the user
rect was a lot less clear. The code only saved it on user actions,
with various other calls to save_user_window_placement() and a force
mechanism sprinkled in to avoid windows being snapped back to odd
places when constraints changed.

This could lead to odd bugs. For instance, if the user uses some
extension which automatically tiles windows and didn't pass
user_action=TRUE, and then the struts changed, the window would be
placed back at the last place a user moved it to, rather than where
the window was tiled to.

The META_IS_USER_ACTION flag is still used in the constraints code
to determine whether we should allow shoving windows offscreen, so
we can't remove it completely, but we should think about splitting
out the constrainment policies it commands for a bit more
fine-grained control.

https://bugzilla.gnome.org/show_bug.cgi?id=726714
2014-05-20 15:59:14 -04:00
data Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
doc Drop leftover menu.h/metaaccellabel.h references 2014-05-18 15:51:14 +02:00
po Updated POTFILES.in 2014-05-18 01:05:15 +02:00
src window: Replace the user_rect with the unconstrained_rect 2014-05-20 15:59:14 -04:00
test Clean up the source tree 2014-03-18 20:37:35 -04:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.cvsignore moap ignore 2006-06-29 20:54:39 +00:00
.gitignore launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
autogen.sh Revert "hack autogen to allow automake 1.13" 2014-03-14 01:08:46 -04:00
configure.ac launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am build: Create m4 directory 2014-04-09 12:28:45 -07:00
mutter.doap Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
NEWS Bump version to 3.13.1 2014-04-30 18:14:27 +02:00