summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-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;
}