summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-03 22:57:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-03 22:57:18 +0300
commitd830657b2ce589a961bfdd5d146a2dcef229ee87 (patch)
tree03657000d01606620e3ca0dd0f1199583ed74e05 /src/gui/windowmenu.cpp
parent8841fd5b0627d878a50c04dd11bdbc4835930dca (diff)
downloadplus-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.cpp2
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)