summaryrefslogtreecommitdiff
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
parenta64a78791f8350a01193ae216341fbb3d3d66567 (diff)
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,