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
|
@ -1292,7 +1292,7 @@ KdParsePointer (char *arg)
|
||||||
return NULL;
|
return NULL;
|
||||||
pi->emulateMiddleButton = kdEmulateMiddleButton;
|
pi->emulateMiddleButton = kdEmulateMiddleButton;
|
||||||
pi->transformCoordinates = !kdRawPointerCoordinates;
|
pi->transformCoordinates = !kdRawPointerCoordinates;
|
||||||
pi->nButtons = 3;
|
pi->nButtons = 5; /* XXX should not be hardcoded */
|
||||||
pi->inputClass = KD_MOUSE;
|
pi->inputClass = KD_MOUSE;
|
||||||
|
|
||||||
if (!arg)
|
if (!arg)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user