mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
window-wayland: Don't bother checking if anything changed
This is a small fixup. We don't need the check here, since we don't do anything extra if it actually changed.
This commit is contained in:
parent
43b3573c51
commit
5c40345128
@ -207,12 +207,8 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
|
||||
}
|
||||
}
|
||||
|
||||
if (wl_window->last_sent_width != constrained_rect.width ||
|
||||
wl_window->last_sent_height != constrained_rect.height)
|
||||
{
|
||||
wl_window->last_sent_width = constrained_rect.width;
|
||||
wl_window->last_sent_height = constrained_rect.height;
|
||||
}
|
||||
wl_window->last_sent_width = constrained_rect.width;
|
||||
wl_window->last_sent_height = constrained_rect.height;
|
||||
|
||||
if (can_move_now)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user