summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)