summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2015-01-17 04:23:48 +0100
committerJules Blok <jules.blok@gmail.com>2015-01-17 16:11:17 +0100
commit8d69658a9da53f531f01c7f8a54d7b8db80f6098 (patch)
treea6d7204fa23edd068eb8435583b9cac24e6aeacc /Source/Core/DolphinWX/Frame.cpp
parentb87fddb0279bf40fb75f4f6b462d9db8ee113916 (diff)
Add exclusive mode OSD messages.
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index c077b2dfec..662739863c 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -211,6 +211,11 @@ bool CRenderFrame::ShowFullScreen(bool show, long style)
{
// OpenGL requires the pop-up style to activate exclusive mode.
SetWindowStyle((GetWindowStyle() & ~wxDEFAULT_FRAME_STYLE) | wxPOPUP_WINDOW);
+
+ // Some backends don't support exclusive fullscreen, so we
+ // can't tell exactly when exclusive mode is activated.
+ if (!g_Config.backend_info.bSupportsExclusiveFullscreen)
+ OSD::AddMessage("Enabled exclusive fullscreen.");
}
#endif