mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
window: Use the window's rect for checking whether this is a resize
The expected_rect is going to die.
This commit is contained in:
parent
260b6d02f2
commit
0797206cc2
@ -4409,8 +4409,7 @@ meta_window_move_resize_wayland (MetaWindow *window,
|
||||
|
||||
if (x != window->expected_rect.x || y != window->expected_rect.y)
|
||||
flags |= META_IS_MOVE_ACTION;
|
||||
if (width != window->expected_rect.width ||
|
||||
height != window->expected_rect.height)
|
||||
if (width != window->rect.width || height != window->rect.height)
|
||||
flags |= META_IS_RESIZE_ACTION;
|
||||
|
||||
meta_window_move_resize_internal (window, flags, NorthWestGravity,
|
||||
|
Loading…
Reference in New Issue
Block a user