diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-03 22:57:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-03 22:57:18 +0300 |
commit | d830657b2ce589a961bfdd5d146a2dcef229ee87 (patch) | |
tree | 03657000d01606620e3ca0dd0f1199583ed74e05 /src | |
parent | 8841fd5b0627d878a50c04dd11bdbc4835930dca (diff) | |
download | mv-d830657b2ce589a961bfdd5d146a2dcef229ee87.tar.gz mv-d830657b2ce589a961bfdd5d146a2dcef229ee87.tar.bz2 mv-d830657b2ce589a961bfdd5d146a2dcef229ee87.tar.xz mv-d830657b2ce589a961bfdd5d146a2dcef229ee87.zip |
Block right click on top right buttons on small resolutions.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windowmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index 3c17383f3..c56c06ddb 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -235,7 +235,7 @@ void WindowMenu::mousePressed(gcn::MouseEvent &event) if (!viewport) return; - if (event.getButton() == gcn::MouseEvent::RIGHT) + if (!mSmallWindow && event.getButton() == gcn::MouseEvent::RIGHT) { Button *const btn = dynamic_cast<Button*>(event.getSource()); if (!btn) |