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:
Jasper St. Pierre 2014-09-16 19:16:19 -06:00
parent 43b3573c51
commit 5c40345128

View File

@ -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_width = constrained_rect.width;
wl_window->last_sent_height != constrained_rect.height) 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) if (can_move_now)
{ {