mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 13:40:31 +00:00
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
These may not result on wl_surface.frame callbacks, yet we do trigger a frame clock tick that would get stuck on the lack of such callback. https://bugzilla.gnome.org/show_bug.cgi?id=784314
This commit is contained in:
parent
c286fad473
commit
1607f8c4c6
@ -2637,7 +2637,8 @@ gdk_window_wayland_move_resize (GdkWindow *window,
|
||||
if (with_move)
|
||||
{
|
||||
/* Each toplevel has in its own "root" coordinate system */
|
||||
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TOPLEVEL)
|
||||
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TOPLEVEL &&
|
||||
(window->x != x || window->y != y))
|
||||
{
|
||||
window->x = x;
|
||||
window->y = y;
|
||||
|
Loading…
Reference in New Issue
Block a user