mirror of https://github.com/PCSX2/pcsx2.git
GUI: Don't resize the window automatically while it's maximised or fullscreen. (Annoying consequence: if you change the GS window size setting while it's fullscreen or maximised, the setting will be overwritten by the resize event on restoring to normal size. Seems to be far more hassle to work around than it's worth.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5423 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
1cc654e9bf
commit
a06b9064f2
|
@ -496,7 +496,8 @@ void GSFrame::AppStatusEvent_OnSettingsApplied()
|
|||
|
||||
SetWindowStyle((g_Conf->GSWindow.DisableResizeBorders ? 0 : wxRESIZE_BORDER) | wxCAPTION | wxCLIP_CHILDREN |
|
||||
wxSYSTEM_MENU | wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxCLOSE_BOX);
|
||||
SetClientSize( g_Conf->GSWindow.WindowSize );
|
||||
if (!IsFullScreen() && !IsMaximized())
|
||||
SetClientSize(g_Conf->GSWindow.WindowSize);
|
||||
Refresh();
|
||||
|
||||
if( g_Conf->GSWindow.CloseOnEsc )
|
||||
|
|
Loading…
Reference in New Issue