[gtk+/composite-templates] wayland: Save the serial number for the ping event
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] wayland: Save the serial number for the ping event
- Date: Sun, 15 Jul 2012 21:48:55 +0000 (UTC)
commit 3f38abd2664c11e575096b92a84357fa2b376ddc
Author: Rob Bradford <rob linux intel com>
Date: Wed Jul 11 17:09:23 2012 +0100
wayland: Save the serial number for the ping event
gdk/wayland/gdkwindow-wayland.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 963da15..2544666 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -696,6 +696,13 @@ shell_surface_ping (void *data,
struct wl_shell_surface *shell_surface,
uint32_t serial)
{
+
+ GdkWindow *window = GDK_WINDOW (data);
+ GdkWaylandDisplay *wayland_display =
+ GDK_WAYLAND_DISPLAY (gdk_window_get_display (window));
+
+ _gdk_wayland_display_update_serial (wayland_display, serial);
+
wl_shell_surface_pong(shell_surface, serial);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]