]> Pileus Git - ~andy/gtk/commitdiff
wayland: Implement the get_next_serial vfunc on GdkDisplay
authorRob Bradford <rob@linux.intel.com>
Fri, 6 Jan 2012 16:47:53 +0000 (16:47 +0000)
committerRob Bradford <rob@linux.intel.com>
Fri, 6 Jan 2012 16:58:05 +0000 (16:58 +0000)
gdk/wayland/gdkdisplay-wayland.c

index a6442d7f9e7d1195711433f6b754266b0618c8cf..2e9e98a4911d4936a7b6f9c42e8d3d57e12d454f 100644 (file)
@@ -425,7 +425,8 @@ gdk_wayland_display_after_process_all_updates (GdkDisplay *display)
 static gulong
 gdk_wayland_display_get_next_serial (GdkDisplay *display)
 {
-  return 0;
+  static gulong serial = 0;
+  return ++serial;
 }
 
 void