No need for inputPending field in xf86Info.
This commit is contained in:
parent
881e551de9
commit
6e018f6a30
|
@ -236,8 +236,6 @@ ProcessInputEvents ()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
xf86Info.inputPending = FALSE;
|
|
||||||
|
|
||||||
mieqProcessInputEvents();
|
mieqProcessInputEvents();
|
||||||
|
|
||||||
/* FIXME: This is a problem if we have multiple pointers */
|
/* FIXME: This is a problem if we have multiple pointers */
|
||||||
|
@ -499,8 +497,6 @@ xf86Wakeup(pointer blockData, int err, pointer pReadmask)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xf86VTSwitchPending()) xf86VTSwitch();
|
if (xf86VTSwitchPending()) xf86VTSwitch();
|
||||||
|
|
||||||
if (xf86Info.inputPending) ProcessInputEvents();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,6 @@ xf86InfoRec xf86Info = {
|
||||||
NULL, /* mouseLocal */
|
NULL, /* mouseLocal */
|
||||||
-1, /* lastEventTime */
|
-1, /* lastEventTime */
|
||||||
FALSE, /* vtRequestsPending */
|
FALSE, /* vtRequestsPending */
|
||||||
FALSE, /* inputPending */
|
|
||||||
FALSE, /* dontVTSwitch */
|
FALSE, /* dontVTSwitch */
|
||||||
FALSE, /* dontZap */
|
FALSE, /* dontZap */
|
||||||
FALSE, /* dontZoom */
|
FALSE, /* dontZoom */
|
||||||
|
|
|
@ -1117,7 +1117,6 @@ InitInput(argc, argv)
|
||||||
InputInfoPtr pInfo;
|
InputInfoPtr pInfo;
|
||||||
|
|
||||||
xf86Info.vtRequestsPending = FALSE;
|
xf86Info.vtRequestsPending = FALSE;
|
||||||
xf86Info.inputPending = FALSE;
|
|
||||||
|
|
||||||
/* Call the PreInit function for each input device instance. */
|
/* Call the PreInit function for each input device instance. */
|
||||||
for (pDev = xf86ConfigLayout.inputs; pDev && *pDev; pDev++) {
|
for (pDev = xf86ConfigLayout.inputs; pDev && *pDev; pDev++) {
|
||||||
|
|
|
@ -85,7 +85,6 @@ typedef struct {
|
||||||
/* event handler part */
|
/* event handler part */
|
||||||
int lastEventTime;
|
int lastEventTime;
|
||||||
Bool vtRequestsPending;
|
Bool vtRequestsPending;
|
||||||
Bool inputPending;
|
|
||||||
Bool dontVTSwitch;
|
Bool dontVTSwitch;
|
||||||
Bool dontZap;
|
Bool dontZap;
|
||||||
Bool dontZoom;
|
Bool dontZoom;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user