[gtk+] wayland: Bump GTK_SHELL1 version to 2
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Bump GTK_SHELL1 version to 2
- Date: Tue, 19 Sep 2017 02:53:24 +0000 (UTC)
commit 01911b5ecd96e726335a7a18e27030a2304671b0
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Sep 18 23:49:44 2017 -0300
wayland: Bump GTK_SHELL1 version to 2
Otherwise, we can't negotiate the latest version with the
compositor, making the compositor use v1 of the protocol and
pretty much ignoring all the edge constraints work.
gdk/wayland/gdkdisplay-wayland.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 8f8c1dd..30f4d43 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -85,6 +85,8 @@
#define MIN_SYSTEM_BELL_DELAY_MS 20
+#define GTK_SHELL1_VERSION 2
+
static void _gdk_wayland_display_load_cursor_theme (GdkWaylandDisplay *display_wayland);
G_DEFINE_TYPE (GdkWaylandDisplay, gdk_wayland_display, GDK_TYPE_DISPLAY)
@@ -374,7 +376,7 @@ gdk_registry_handle_global (void *data,
display_wayland->gtk_shell =
wl_registry_bind(display_wayland->wl_registry, id,
>k_shell1_interface,
- 1);
+ GTK_SHELL1_VERSION);
_gdk_wayland_screen_set_has_gtk_shell (display_wayland->screen);
display_wayland->gtk_shell_version = version;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]