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:46:37 +1000
commit49307ef3e8b4a24b501729f0a9551d10cc53b9c5 (patch)
tree744626877f33b6188d7277c226d346b93a14528f
parent62c1e47de0448242a0dd1f5226be93f92a06824f (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> (cherry picked from commit 661c45ca17c434dbd342a46fd3fb813852ae0ca9)
-rw-r--r--src/XExtInt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c
index 08ba2a5..2ea4a23 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -939,7 +939,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