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



commit 73ef640736ae81bb7aa0ce83db6909a04ce34c50
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Oct 19 19:52:11 2017 -0500

    Revert "gdk/wayland: Avoid idempotent wl_subsurface.set_position calls"
    
    This reverts commit 1607f8c4c64b95329f0c02fde7070c35b2bfb2ad.
    
    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 cbc7bfb..1697dcd 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -2637,8 +2637,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]