summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-05-21 12:23:05 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-05-24 11:14:30 +1000
commit661c45ca17c434dbd342a46fd3fb813852ae0ca9 (patch)
treeb9bab79ed0c86f999ac57a91693d9cc2ed2a5d98
parent81b4df8ac6aa1520c41c3526961014a6f115cc46 (diff)
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 <peter.hutterer@who-t.net>
-rw-r--r--src/XExtInt.c1
1 files changed, 0 insertions, 1 deletions
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