xquartz: remove unused params from DarwinEQInit
This commit is contained in:
parent
588683cecc
commit
299a056737
|
@ -499,12 +499,13 @@ int DarwinParseModifierList(
|
||||||
void InitInput( int argc, char **argv )
|
void InitInput( int argc, char **argv )
|
||||||
{
|
{
|
||||||
darwinPointer = AddInputDevice(DarwinMouseProc, TRUE);
|
darwinPointer = AddInputDevice(DarwinMouseProc, TRUE);
|
||||||
|
darwinPointer->name = strdup("tablet");
|
||||||
RegisterPointerDevice( darwinPointer );
|
RegisterPointerDevice( darwinPointer );
|
||||||
|
|
||||||
darwinKeyboard = AddInputDevice(DarwinKeybdProc, TRUE);
|
darwinKeyboard = AddInputDevice(DarwinKeybdProc, TRUE);
|
||||||
RegisterKeyboardDevice( darwinKeyboard );
|
RegisterKeyboardDevice( darwinKeyboard );
|
||||||
|
|
||||||
DarwinEQInit( (DevicePtr)darwinKeyboard, (DevicePtr)darwinPointer );
|
DarwinEQInit();
|
||||||
|
|
||||||
QuartzInitInput(argc, argv);
|
QuartzInitInput(argc, argv);
|
||||||
}
|
}
|
||||||
|
|
|
@ -307,7 +307,7 @@ static void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev, in
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr) {
|
Bool DarwinEQInit(void) {
|
||||||
if (!darwinEvents)
|
if (!darwinEvents)
|
||||||
darwinEvents = (xEvent *)xcalloc(sizeof(xEvent), GetMaximumEventsNum());
|
darwinEvents = (xEvent *)xcalloc(sizeof(xEvent), GetMaximumEventsNum());
|
||||||
if (!darwinEvents)
|
if (!darwinEvents)
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#ifndef _DARWIN_EVENTS_H
|
#ifndef _DARWIN_EVENTS_H
|
||||||
#define _DARWIN_EVENTS_H
|
#define _DARWIN_EVENTS_H
|
||||||
|
|
||||||
Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr);
|
Bool DarwinEQInit(void);
|
||||||
void DarwinEQEnqueue(const xEventPtr e);
|
void DarwinEQEnqueue(const xEventPtr e);
|
||||||
void DarwinEQPointerPost(DeviceIntPtr pDev, xEventPtr e);
|
void DarwinEQPointerPost(DeviceIntPtr pDev, xEventPtr e);
|
||||||
void DarwinEQSwitchScreen(ScreenPtr pScreen, Bool fromDIX);
|
void DarwinEQSwitchScreen(ScreenPtr pScreen, Bool fromDIX);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user