From a3aa6a2d865239c5b8f29cbd849ae3288e36b8a9 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 15 Sep 2004 09:05:22 +0000 Subject: [PATCH] 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). --- dix/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;