Support the borderless fullscreen option in all backends.

This commit is contained in:
Jules Blok
2014-10-07 16:46:10 +02:00
parent 7344f752b7
commit 39f421d45d
4 changed files with 2 additions and 8 deletions

View File

@ -187,7 +187,7 @@ WXLRESULT CRenderFrame::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPa
bool CRenderFrame::ShowFullScreen(bool show, long style)
{
if (show)
if (show && !g_Config.bBorderlessFullscreen)
{
// OpenGL requires the pop-up style to activate exclusive mode.
SetWindowStyle((GetWindowStyle() & ~wxDEFAULT_FRAME_STYLE) | wxPOPUP_WINDOW);