From 4e86393bc0873235c1381faee5559b1aeba63be5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 24 Oct 2008 09:21:36 +1030 Subject: emulate MB: fix confusing log message. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- src/emuMB.c | 4 ++-- 1 file 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, -- cgit v1.2.3