mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 18:28:02 +02: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:
parent
f3f6ea89aa
commit
3eb52de7f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue