xserver/hw/kdrive/src kinput.c,1.40,1.41
Phil Blundell
xserver-commit at pdx.freedesktop.org
Wed Oct 20 11:02:34 PDT 2004
Committed by: pb
Update of /cvs/xserver/xserver/hw/kdrive/src
In directory gabe:/tmp/cvs-serv23543/hw/kdrive/src
Modified Files:
kinput.c
Log Message:
2004-10-20 Phil Blundell <pb at nexus.co.uk>
* hw/kdrive/src/kinput.c (KdDisableInput): Block SIGIO before
disabling input fds.
(KdEnableInput): Unblock it after enabling them again.
Index: kinput.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/src/kinput.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- kinput.c 7 Jul 2004 19:21:07 -0000 1.40
+++ kinput.c 20 Oct 2004 18:02:32 -0000 1.41
@@ -270,6 +270,8 @@
{
int i;
+ KdBlockSigio ();
+
for (i = 0; i < kdNumInputFds; i++)
{
KdRemoveFd (kdInputFds[i].fd);
@@ -297,6 +299,8 @@
/* reset screen saver */
xE.u.keyButtonPointer.time = GetTimeInMillis ();
NoticeEventTime (&xE);
+
+ KdUnblockSigio ();
}
static int
More information about the xserver-commit
mailing list