From d8e48deb212767c4dfce982e6cb9d1b1fce63b96 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 25 Aug 2009 22:29:25 -0700 Subject: Block signals while delivering XTest events (fixes bug 23100) XTest uses the same event list as all input devices, and input devices use it at SIGIO time. This causes mass confusion when a SIGIO event occurs in the middle of XTest event processing. The master branch has a much different fix, using a separate input queue which reduces latency that may be caused by XTest event queuing; it's a 'nicer' fix in some ways, but this simple fix should solve the problem. Reviewed-by: Peter Hutterer Signed-off-by: Keith Packard --- Xext/xtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xext/xtest.c b/Xext/xtest.c index 9cfe8ca17..e5ab7b451 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -384,6 +384,7 @@ ProcXTestFakeInput(client) if (screenIsSaved == SCREEN_SAVER_ON) dixSaveScreens(serverClient, SCREEN_SAVER_OFF, ScreenSaverReset); + OsBlockSignals(); GetEventList(&events); switch(type) { case MotionNotify: @@ -402,7 +403,6 @@ ProcXTestFakeInput(client) break; } - OsBlockSignals(); for (i = 0; i < nevents; i++) mieqEnqueue(dev, (events+i)->event); OsReleaseSignals(); -- cgit v1.2.3 From 3044711412d0a08ba65a491bd2441c0c8980f5e2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 25 Aug 2009 22:37:16 -0700 Subject: Bump version to 1.6.3.901 (1.6.4 RC1) Signed-off-by: Keith Packard --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b8a3385b8..9bb566c99 100644 --- a/configure.ac +++ b/configure.ac @@ -26,12 +26,12 @@ dnl dnl Process this file with autoconf to create configure. AC_PREREQ(2.57) -AC_INIT([xorg-server], 1.6.3, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server) +AC_INIT([xorg-server], 1.6.3.901, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server) AC_CONFIG_SRCDIR([Makefile.am]) AM_INIT_AUTOMAKE([dist-bzip2 foreign]) AM_MAINTAINER_MODE -RELEASE_DATE="2009-7-31" +RELEASE_DATE="2009-8-25" dnl this gets generated by autoheader, and thus contains all the defines. we dnl don't ever actually use it, internally. -- cgit v1.2.3