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/gui/windowmenu.cpp | |
parent | 8841fd5b0627d878a50c04dd11bdbc4835930dca (diff) | |
download | plus-d830657b2ce589a961bfdd5d146a2dcef229ee87.tar.gz plus-d830657b2ce589a961bfdd5d146a2dcef229ee87.tar.bz2 plus-d830657b2ce589a961bfdd5d146a2dcef229ee87.tar.xz plus-d830657b2ce589a961bfdd5d146a2dcef229ee87.zip |
Block right click on top right buttons on small resolutions.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-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) |