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