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:
Emilio Pozuelo Monfort
2013-08-27 11:30:08 +02:00
committed by Rob Bradford
parent 343a259e4a
commit 7761e99558

View File

@ -678,12 +678,7 @@ void
_gdk_wayland_display_update_serial (GdkWaylandDisplay *wayland_display,
guint32 serial)
{
if (serial - wayland_display->serial < 1000)
wayland_display->serial = serial;
else
g_warning (G_STRLOC ": serial number jump bigger than 1000 (%u -> %u",
wayland_display->serial, serial);
wayland_display->serial = serial;
}
/**