summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-17 22:52:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-17 22:52:07 +0300
commit120e0b5b384566c89984aeea86ae517909ebaac1 (patch)
tree71a3fae89106d1aa4827a1b314ce3d6f9890575e /src/actions/actions.cpp
parent8d3ef9075b56d9e9e8288e82e0242896433ff853 (diff)
downloadmv-120e0b5b384566c89984aeea86ae517909ebaac1.tar.gz
mv-120e0b5b384566c89984aeea86ae517909ebaac1.tar.bz2
mv-120e0b5b384566c89984aeea86ae517909ebaac1.tar.xz
mv-120e0b5b384566c89984aeea86ae517909ebaac1.zip
Add support for full screen in nacl.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp4
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;
}