summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-09-15 09:05:22 +0000
committerEgbert Eich <eich@suse.de>2004-09-15 09:05:22 +0000
commita3aa6a2d865239c5b8f29cbd849ae3288e36b8a9 (patch)
tree85e1412a0345285a7d9b3fe99947123b77094729 /dix
parentf642fc729b481c55073c75beca301b2f17881179 (diff)
Unregistering events in XSelectInput() when unregistering IM filter
callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak). Fix size of a variable that gets assigned the value of SmartScheduleTime (long) to long. This should help to prevent smart scheduler lockup on 64 bit systems due to overruns (Andreas Schwab).
Diffstat (limited to 'dix')
-rw-r--r--dix/dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 08d523441..69debb5e8 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -362,7 +362,7 @@ Dispatch(void)
register int nready;
register HWEventQueuePtr* icheck = checkForInput;
#ifdef SMART_SCHEDULE
- int start_tick;
+ long start_tick;
#endif
nextFreeClientID = 1;