[gtk+/gtk-3-22] Revert "gdk/wayland: Avoid idempotent wl_subsurface.set_position calls"



commit 26ff667901ddf77ee484556148e46eaeaedeae9d
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Oct 19 19:47:30 2017 -0500

    Revert "gdk/wayland: Avoid idempotent wl_subsurface.set_position calls"
    
    This reverts commit 8aa6d59b7a214ba03a83bcae8c43712f8e402927.
    
    This caused a regression in totem that still needs to be investigated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784314

 gdk/wayland/gdkwindow-wayland.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 1303c8a..c87d6d9 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -2663,8 +2663,7 @@ 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 &&
-          (window->x != x || window->y != y))
+      if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TOPLEVEL)
         {
           window->x = x;
           window->y = y;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]