diff options
-rw-r--r-- | src/emuMB.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emuMB.c b/src/emuMB.c index e5a767a..028d27f 100644 --- a/src/emuMB.c +++ b/src/emuMB.c @@ -231,6 +231,11 @@ EvdevMBEmuFilterEvent(InputInfoPtr pInfo, int button, BOOL press) if (!pEvdev->emulateMB.enabled) return ret; + if (button == 2) { + EvdevMBEmuEnable(pInfo, FALSE); + return ret; + } + /* don't care about other buttons */ if (button != 1 && button != 3) return ret; |