[gtk/gtk-3-24: 5/6] wayland: Use correct enums in server_decoration_request_mode



commit d49335c59a7a5aa397a9740c74e5ee2068394890
Author: David Edmundson <kde davidedmundson co uk>
Date:   Thu Jun 28 18:41:22 2018 +0100

    wayland: Use correct enums in server_decoration_request_mode
    
    The enum is duplicated in the spec for the manager and the decoration
    object. We should be using the right ones. In practice they have the
    same value, so this bug didn't cause any issues.

 gdk/wayland/gdkwindow-wayland.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 0e2b66e6e8..3da3ac5b68 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -2106,10 +2106,10 @@ gdk_wayland_window_announce_decoration_mode (GdkWindow *window)
     {
       if (impl->using_csd)
         org_kde_kwin_server_decoration_request_mode (impl->display_server.server_decoration,
-                                                                                     
ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_CLIENT);
+                                                                                     
ORG_KDE_KWIN_SERVER_DECORATION_MODE_CLIENT);
       else
         org_kde_kwin_server_decoration_request_mode (impl->display_server.server_decoration,
-                                                                                     
ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_SERVER);
+                                                                                     
ORG_KDE_KWIN_SERVER_DECORATION_MODE_SERVER);
     }
 }
 


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