Cygwin/X: Remove unused TimeSinceLastInputEvent()
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
966c8fccf1
commit
9955252564
|
@ -48,7 +48,6 @@ DISPATCH_PROC(winProcSetSelectionOwner);
|
|||
* Local global declarations
|
||||
*/
|
||||
|
||||
CARD32 g_c32LastInputEventTime = 0;
|
||||
DeviceIntPtr g_pwinPointer;
|
||||
DeviceIntPtr g_pwinKeyboard;
|
||||
|
||||
|
@ -110,15 +109,6 @@ void DDXRingBell(int volume, int pitch, int duration)
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
TimeSinceLastInputEvent ()
|
||||
{
|
||||
if (g_c32LastInputEventTime == 0)
|
||||
g_c32LastInputEventTime = GetTickCount ();
|
||||
return GetTickCount () - g_c32LastInputEventTime;
|
||||
}
|
||||
|
||||
|
||||
/* See Porting Layer Definition - p. 17 */
|
||||
void
|
||||
InitInput (int argc, char *argv[])
|
||||
|
|
|
@ -636,7 +636,6 @@ extern DevPrivateKey g_iGCPrivateKey;
|
|||
extern DevPrivateKey g_iPixmapPrivateKey;
|
||||
extern DevPrivateKey g_iWindowPrivateKey;
|
||||
extern unsigned long g_ulServerGeneration;
|
||||
extern CARD32 g_c32LastInputEventTime;
|
||||
extern DWORD g_dwEnginesSupported;
|
||||
extern HINSTANCE g_hInstance;
|
||||
extern int g_copyROP[];
|
||||
|
|
|
@ -354,7 +354,6 @@ winMouseButtonsHandle (ScreenPtr pScreen,
|
|||
void winEnqueueMotion(int x, int y)
|
||||
{
|
||||
miPointerSetPosition(g_pwinPointer, &x, &y);
|
||||
g_c32LastInputEventTime = GetTickCount();
|
||||
|
||||
int i, nevents;
|
||||
int valuators[2];
|
||||
|
|
Loading…
Reference in New Issue
Block a user