summaryrefslogtreecommitdiff
path: root/mi/mieq.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/mieq.c')
-rw-r--r--mi/mieq.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 02b35160c..699d4130c 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -25,6 +25,7 @@ in this Software without prior written authorization from The Open Group.
*
* Author: Keith Packard, MIT X Consortium
*/
+/* $XFree86: xc/programs/Xserver/mi/mieq.c,v 1.3 2001/12/14 20:00:22 dawes Exp $ */
/*
* mieq.c
@@ -89,7 +90,7 @@ void
mieqEnqueue (e)
xEvent *e;
{
- HWEventQueueType oldtail, newtail, prevtail;
+ HWEventQueueType oldtail, newtail;
Bool isMotion;
oldtail = miEventQueue.tail;
@@ -139,7 +140,7 @@ mieqSwitchScreen (pScreen, fromDIX)
* Call this from ProcessInputEvents()
*/
-mieqProcessInputEvents ()
+void mieqProcessInputEvents ()
{
EventRec *e;
int x, y;
@@ -147,8 +148,6 @@ mieqProcessInputEvents ()
while (miEventQueue.head != miEventQueue.tail)
{
- extern int screenIsSaved;
-
if (screenIsSaved == SCREEN_SAVER_ON)
SaveScreens (SCREEN_SAVER_OFF, ScreenSaverReset);