wayland: trust the compositor to always send a good serial number
https://bugzilla.gnome.org/show_bug.cgi?id=706870 Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
This commit is contained in:

committed by
Rob Bradford

parent
343a259e4a
commit
7761e99558
@ -678,12 +678,7 @@ void
|
|||||||
_gdk_wayland_display_update_serial (GdkWaylandDisplay *wayland_display,
|
_gdk_wayland_display_update_serial (GdkWaylandDisplay *wayland_display,
|
||||||
guint32 serial)
|
guint32 serial)
|
||||||
{
|
{
|
||||||
if (serial - wayland_display->serial < 1000)
|
wayland_display->serial = serial;
|
||||||
wayland_display->serial = serial;
|
|
||||||
else
|
|
||||||
g_warning (G_STRLOC ": serial number jump bigger than 1000 (%u -> %u",
|
|
||||||
wayland_display->serial, serial);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user