diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-14 09:45:19 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-14 09:46:04 -0400 |
commit | 3eb52de7f28b0050582f9ac4c28bc894d3f06f4b (patch) | |
tree | 1181bd551de9d13cada61e5b4082c9a94cd50045 /hw/kdrive/src | |
parent | f3f6ea89aa9e0ffe9e37bc059e5e6bf75be4ee9f (diff) |
kdrive: Hardcode a different wrong value for number of mouse buttons
This should really come from the input driver directly, but, kdrive.
Diffstat (limited to 'hw/kdrive/src')
-rw-r--r-- | hw/kdrive/src/kinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c index 15fd3b7e7..816e933e6 100644 --- a/hw/kdrive/src/kinput.c +++ b/hw/kdrive/src/kinput.c @@ -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) |