aboutsummaryrefslogtreecommitdiff
path: root/src/emuMB.c
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-10-24 09:21:36 +1030
commit0f8fcfccb3251ee3df80d90ae5d7df638722d24e (patch)
tree41b4e920a59be566e22e8e408899ad237344db10 /src/emuMB.c
parentSilence compiler warning by memsetting the struct properly. (diff)
downloadxf86-input-evdev-0f8fcfccb3251ee3df80d90ae5d7df638722d24e.tar.gz
xf86-input-evdev-0f8fcfccb3251ee3df80d90ae5d7df638722d24e.tar.bz2
xf86-input-evdev-0f8fcfccb3251ee3df80d90ae5d7df638722d24e.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.
Diffstat (limited to 'src/emuMB.c')
-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,