wayland: Make the event source use _gdk_display_get_next_serial

This commit is contained in:
Rob Bradford 2012-01-06 16:48:13 +00:00
parent e13cca00cc
commit 675b2fddcb

View File

@ -113,10 +113,10 @@ void
_gdk_wayland_display_deliver_event (GdkDisplay *display, GdkEvent *event) _gdk_wayland_display_deliver_event (GdkDisplay *display, GdkEvent *event)
{ {
GList *node; GList *node;
static int serial;
node = _gdk_event_queue_append (display, event); node = _gdk_event_queue_append (display, event);
_gdk_windowing_got_event (display, node, event, serial++); _gdk_windowing_got_event (display, node, event,
_gdk_display_get_next_serial (display));
} }
GSource * GSource *