mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
1956a6ae76
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 |
||
---|---|---|
.. | ||
bell.c | ||
bell.h | ||
boxes-private.h | ||
boxes.c | ||
constraints.c | ||
constraints.h | ||
core.c | ||
core.h | ||
delete.c | ||
display-private.h | ||
display.c | ||
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 | ||
workspace-private.h | ||
workspace.c |