mutter/src/core
Rui Matos 1956a6ae76 window: Use the target rect for the grab anchor position on unmaximize
A window's unconstrained_rect is essentially just the target rectangle
we hand to meta_window_move_resize_internal() except it's not updated
until the window actually moves or resizes.

As such, for wayland client resizes, since they're async, using
window->unconstrained_rect right after calling move_resize_internal()
to update the grab anchor position on unmaximize doesn't work as it
does for X clients.

To fix this, we can just use the target rectangle for the grab
anchor. Note that comment here was already wrong since it says we
should be taking constraints into account and yet the code used the
unconstrained rect anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=770345
2016-11-23 18:37:47 +01:00
..
bell.c
bell.h
boxes-private.h
boxes.c
constraints.c
constraints.h
core.c
core.h
delete.c
display-private.h
display.c core: Ensure there is an unique pad OSD actor 2016-11-04 15:57:35 +01:00
edge-resistance.c
edge-resistance.h
errors.c
events.c
events.h
frame.c
frame.h
keybindings-private.h
keybindings.c
main.c
meta-accel-parse.c
meta-accel-parse.h
meta-border.c
meta-border.h
meta-gesture-tracker-private.h
meta-gesture-tracker.c
mutter.c
place.c
place.h
prefs.c
restart-helper.c
restart.c
screen-private.h
screen.c
stack-tracker.c
stack-tracker.h
stack.c
stack.h
startup-notification-private.h
startup-notification.c
testboxes.c
util-private.h
util.c
window-private.h
window.c window: Use the target rect for the grab anchor position on unmaximize 2016-11-23 18:37:47 +01:00
workspace-private.h
workspace.c