aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-24 09:21:36 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-03 13:46:17 +1030
commit4e86393bc0873235c1381faee5559b1aeba63be5 (patch)
tree810469e21e886ce16fa28afa9d81d99497f482e0
parentevdev 2.1 RC 2 (diff)
downloadxf86-input-evdev-4e86393bc0873235c1381faee5559b1aeba63be5.tar.gz
xf86-input-evdev-4e86393bc0873235c1381faee5559b1aeba63be5.tar.bz2
xf86-input-evdev-4e86393bc0873235c1381faee5559b1aeba63be5.zip
emulate MB: fix confusing log message.
If we're forcing MB emulation behaviour as per config, then at least state whether we're forcing it off or on. Found by Michel Dänzer. (cherry picked from commit 0f8fcfccb3251ee3df80d90ae5d7df638722d24e)
-rw-r--r--src/emuMB.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emuMB.c b/src/emuMB.c
index 8a3967c..4af0791 100644
--- a/src/emuMB.c
+++ b/src/emuMB.c
@@ -311,8 +311,8 @@ EvdevMBEmuPreInit(InputInfoPtr pInfo)
pEvdev->emulateMB.enabled = xf86SetBoolOption(pInfo->options,
"Emulate3Buttons",
MBEMU_ENABLED);
- xf86Msg(X_INFO, "%s: Forcing middle mouse button emulation.\n",
- pInfo->name);
+ xf86Msg(X_INFO, "%s: Forcing middle mouse button emulation %s.\n",
+ pInfo->name, (pEvdev->emulateMB.enabled) ? "on" : "off");
}
pEvdev->emulateMB.timeout = xf86SetIntOption(pInfo->options,