mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
wayland: Don't fizzle out attaches
This commit is contained in:
parent
d34ece6f1a
commit
166b8c042c
@ -188,11 +188,7 @@ toplevel_surface_commit (MetaWaylandSurface *surface,
|
|||||||
new_width = cogl_texture_get_width (surface->buffer->texture);
|
new_width = cogl_texture_get_width (surface->buffer->texture);
|
||||||
new_height = cogl_texture_get_height (surface->buffer->texture);
|
new_height = cogl_texture_get_height (surface->buffer->texture);
|
||||||
|
|
||||||
if (new_width != window->rect.width ||
|
meta_window_wayland_move_resize (window, new_width, new_height, pending->dx, pending->dy);
|
||||||
new_height != window->rect.height ||
|
|
||||||
pending->dx != 0 ||
|
|
||||||
pending->dy != 0)
|
|
||||||
meta_window_wayland_move_resize (window, new_width, new_height, pending->dx, pending->dy);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user