[gtk+/gtk-3-22] wayland: Fix a typo



commit 223a709403c7947758b0990fb3c2478d9a4a4704
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 4 07:34:05 2017 -0400

    wayland: Fix a typo
    
    We were not setting the right tiling hint in some cases.
    
    Patch by Jan Steffens.

 gdk/wayland/gdkwindow-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 77a6e97..c87d6d9 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -3004,7 +3004,7 @@ gtk_surface_configure_edges (void                *data,
           new_state |= GDK_WINDOW_STATE_TOP_RESIZABLE;
           break;
         case GTK_SURFACE1_EDGE_CONSTRAINT_RESIZABLE_RIGHT:
-          new_state |= GDK_WINDOW_STATE_TOP_TILED;
+          new_state |= GDK_WINDOW_STATE_RIGHT_RESIZABLE;
           break;
         case GTK_SURFACE1_EDGE_CONSTRAINT_RESIZABLE_BOTTOM:
           new_state |= GDK_WINDOW_STATE_BOTTOM_RESIZABLE;


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