summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-08 00:12:16 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-08 00:12:16 +0300
commit943f974ff274b1c68acd90e56c86ce01d9be170f (patch)
tree52d2e359660536463ebc09b0cc2085095e73a3e7 /src/gui
parent61681702b870bd62acda5b4ee664ee62c962132e (diff)
downloadplus-943f974ff274b1c68acd90e56c86ce01d9be170f.tar.gz
plus-943f974ff274b1c68acd90e56c86ce01d9be170f.tar.bz2
plus-943f974ff274b1c68acd90e56c86ce01d9be170f.tar.xz
plus-943f974ff274b1c68acd90e56c86ce01d9be170f.zip
Dont hide top right screen buttons on small screens.
Diffstat (limited to 'src/gui')
-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 4e6286e77..6139d410a 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -400,7 +400,7 @@ void WindowMenu::saveButtons()
void WindowMenu::drawChildren(gcn::Graphics* graphics)
{
if (mHaveMouse || !mAutoHide || (mAutoHide == 1
- && mainGraphics && mainGraphics->mWidth > 800))
+ && mainGraphics && (mSmallWindow || mainGraphics->mWidth > 800)))
{
Container::drawChildren(graphics);
}