mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
kdrive: Hardcode a different wrong value for number of mouse buttons
This should really come from the input driver directly, but, kdrive.
This commit is contained in:
@@ -1292,7 +1292,7 @@ KdParsePointer (char *arg)
|
||||
return NULL;
|
||||
pi->emulateMiddleButton = kdEmulateMiddleButton;
|
||||
pi->transformCoordinates = !kdRawPointerCoordinates;
|
||||
pi->nButtons = 3;
|
||||
pi->nButtons = 5; /* XXX should not be hardcoded */
|
||||
pi->inputClass = KD_MOUSE;
|
||||
|
||||
if (!arg)
|
||||
|
||||
Reference in New Issue
Block a user