summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainNoGUI.cpp
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-08-06 22:16:28 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-08-19 10:05:57 -0400
commit2eacf229edc78351a69739c587c46f93baed13da (patch)
treee827fb7d5e004ae2a59f1126d7410bc8631b8679 /Source/Core/DolphinWX/MainNoGUI.cpp
parent09eb30ea3bc37554bc6894b597b326731158bb86 (diff)
X11Utils: Simplify the Fullscreen interface
Since we only use the toggle action, only keep that.
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinWX/MainNoGUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp
index 2b966876e2..24d3875349 100644
--- a/Source/Core/DolphinWX/MainNoGUI.cpp
+++ b/Source/Core/DolphinWX/MainNoGUI.cpp
@@ -168,7 +168,7 @@ class PlatformX11 : public Platform
if (fullscreen)
{
- X11Utils::EWMH_Fullscreen(dpy, _NET_WM_STATE_TOGGLE);
+ X11Utils::ToggleFullscreen(dpy);
#if defined(HAVE_XRANDR) && HAVE_XRANDR
XRRConfig->ToggleDisplayMode(True);
#endif
@@ -204,7 +204,7 @@ class PlatformX11 : public Platform
else if ((key == XK_Return) && (event.xkey.state & Mod1Mask))
{
fullscreen = !fullscreen;
- X11Utils::EWMH_Fullscreen(dpy, _NET_WM_STATE_TOGGLE);
+ X11Utils::ToggleFullscreen(dpy);
#if defined(HAVE_XRANDR) && HAVE_XRANDR
XRRConfig->ToggleDisplayMode(fullscreen);
#endif