[gtk+/composite-templates] wayland: Protocol change: ping event on shell_surface
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] wayland: Protocol change: ping event on shell_surface
- Date: Sun, 15 Jul 2012 21:47:40 +0000 (UTC)
commit be5e63a5f82c112b3648a4dfebf25ada13c0a6b3
Author: Rob Bradford <rob linux intel com>
Date: Wed Jul 11 14:15:04 2012 +0100
wayland: Protocol change: ping event on shell_surface
gdk/wayland/gdkwindow-wayland.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index ff3b92b..a0e2d7e 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -685,7 +685,16 @@ shell_surface_popup_done (void *data,
gdk_window_hide (window);
}
+static void
+shell_surface_ping (void *data,
+ struct wl_shell_surface *shell_surface,
+ uint32_t serial)
+{
+ wl_shell_surface_pong(shell_surface, serial);
+}
+
static const struct wl_shell_surface_listener shell_surface_listener = {
+ shell_surface_ping,
shell_surface_handle_configure,
shell_surface_popup_done
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]