xserver/xserver/mi

desrt freedesktop-cvs-commits@pdx.freedesktop.org
Wed, 03 Mar 2004 17:24:41 -0800


CVS commit by desrt: 

mieq: fix lastEventTime code to prevent out-of-sequence events
utils: make VerifyDisplayName accept only integer values for display number


  M +3 -1      xserver/xserver/mi/mieq.c   1.6


--- xserver/xserver/mi/mieq.c  #1.5:1.6
@@ -127,4 +127,6 @@ mieqEnqueue (e)
             miEventQueue.lastEventTime;
     }
+    miEventQueue.lastEventTime =
+        miEventQueue.events[oldtail].event.u.keyButtonPointer.time;
     miEventQueue.events[oldtail].pScreen = miEventQueue.pEnqueueScreen;
 }