From 661c45ca17c434dbd342a46fd3fb813852ae0ca9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 21 May 2013 12:23:05 +1000 Subject: Don't overwrite the cookies serial number serial != sequenceNumber, see _XSetLastRequestRead() cookie->serial is already set at this point, setting it again directly from the sequenceNumber of the event causes a bunch of weird issues such as scrollbars and text drag-n-drop breaking. https://bugzilla.redhat.com/show_bug.cgi?id=965347 Signed-off-by: Peter Hutterer --- src/XExtInt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/XExtInt.c b/src/XExtInt.c index 8e19b97..d3c6b7c 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -915,7 +915,6 @@ static void xge_copy_to_cookie(xGenericEvent* ev, cookie->type = ev->type; cookie->evtype = ev->evtype; cookie->extension = ev->extension; - cookie->serial = ev->sequenceNumber; } static Bool -- cgit v1.2.3