wayland: Add internal API for handling Wayland serial numbers

We need to keep track of the serial numbers for various API requests.
This commit is contained in:
Rob Bradford
2012-07-11 17:06:32 +01:00
parent 17d1c3c833
commit 7fe87016f3
3 changed files with 19 additions and 1 deletions

View File

@ -70,8 +70,9 @@ struct _GdkWaylandDisplay
/* Startup notification */
gchar *startup_notification_id;
/* Time of most recent user interaction. */
/* Time of most recent user interaction and most recent serial */
gulong user_time;
guint32 serial;
/* Wayland fields below */
struct wl_display *wl_display;