summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windowmenu.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 2a3ef51fa..1fa99e729 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -91,6 +91,12 @@ WindowMenu::WindowMenu():
addButton(N_("DR"), _("Drop"), x, h, KeyboardConfig::KEY_WINDOW_DROP);
addButton(N_("SET"), _("Setup"), x, h, KeyboardConfig::KEY_WINDOW_SETUP);
+ if (graphics)
+ {
+ setDimension(gcn::Rectangle(graphics->getWidth() - x - 3,
+ 3, x - 3, h));
+ }
+
loadButtons();
mTextPopup = new TextPopup;