mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Drop valuator mask argument from GetKeyboardEvents
Nothing was using it and if anyone had they would've gotten a warning and noticed that it doesn't actually work. Drop this, it has been unused for years. Input ABI 22 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
@@ -488,12 +488,9 @@ dmxTranslateAndEnqueueExtEvent(DMXLocalInputInfoPtr dmxLocal,
|
||||
switch (type) {
|
||||
case XI_DeviceKeyPress:
|
||||
case XI_DeviceKeyRelease:
|
||||
EXTRACT_VALUATORS(ke, valuators);
|
||||
valuator_mask_set_range(&mask, ke->first_axis, ke->axes_count,
|
||||
valuators);
|
||||
if (block)
|
||||
OsBlockSIGIO();
|
||||
QueueKeyboardEvents(pDevice, event, ke->keycode, &mask);
|
||||
QueueKeyboardEvents(pDevice, event, ke->keycode);
|
||||
if (block)
|
||||
OsReleaseSIGIO();
|
||||
break;
|
||||
@@ -718,7 +715,7 @@ dmxEnqueue(DevicePtr pDev, int type, int detail, KeySym keySym,
|
||||
detail = dmxFixup(pDev, detail, keySym);
|
||||
|
||||
/*ErrorF("KEY %d sym %d\n", detail, (int) keySym); */
|
||||
QueueKeyboardEvents(p, type, detail, NULL);
|
||||
QueueKeyboardEvents(p, type, detail);
|
||||
return;
|
||||
|
||||
case ButtonPress:
|
||||
|
||||
Reference in New Issue
Block a user