diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-17 22:52:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-17 22:52:07 +0300 |
commit | 120e0b5b384566c89984aeea86ae517909ebaac1 (patch) | |
tree | 71a3fae89106d1aa4827a1b314ce3d6f9890575e /src/actions/actions.cpp | |
parent | 8d3ef9075b56d9e9e8288e82e0242896433ff853 (diff) | |
download | manaplus-120e0b5b384566c89984aeea86ae517909ebaac1.tar.gz manaplus-120e0b5b384566c89984aeea86ae517909ebaac1.tar.bz2 manaplus-120e0b5b384566c89984aeea86ae517909ebaac1.tar.xz manaplus-120e0b5b384566c89984aeea86ae517909ebaac1.zip |
Add support for full screen in nacl.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 663c7d475..dec8539d3 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -41,6 +41,7 @@ #include "gui/gui.h" #include "gui/popupmanager.h" #include "gui/sdlinput.h" +#include "gui/windowmanager.h" #include "gui/popups/popupmenu.h" @@ -909,8 +910,7 @@ impHandler0(attackHuman) impHandler0(safeVideoMode) { - if (mainGraphics) - mainGraphics->setFullscreen(false); + WindowManager::setFullScreen(false); return true; } |