xquartz: remove unused params from DarwinEQInit

This commit is contained in:
Ben Byer 2008-04-29 23:00:09 -07:00
parent 588683cecc
commit 299a056737
3 changed files with 4 additions and 3 deletions

View File

@ -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);
}

View File

@ -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)

View File

@ -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);