Skip to content

Commit

Permalink
PCSX2-WX: Revert titlebar update behavior on Windows
Browse files Browse the repository at this point in the history
Current behavior - The tilebar isn't updated when the user enters full screen mode and when the user returns back to windowed mode they have the older title bar values for a brief second, this sort of behavior is undesirable just in the cost of saving some overhead for updating title. (which is really negligent)

Hence reverting the code back to how it has been for the past 7 years (Yes, I did my research), I'm doing it only for the windows side at the moment as a code comment describes of some sort of Linux specific issue on wxWidgets side.
  • Loading branch information
ssakash authored and gregory38 committed Jul 12, 2017
1 parent 9e13b7d commit 9af0303
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pcsx2/gui/FrameForGS.cpp
Expand Up @@ -623,9 +623,11 @@ void GSFrame::OnUpdateTitle( wxTimerEvent& evt )
out << std::fixed << std::setprecision(2) << fps;
OSDmonitor(Color_StrongGreen, "FPS:", out.str());

#ifdef __linux__
// Important Linux note: When the title is set in fullscreen the window is redrawn. Unfortunately
// an intermediate white screen appears too which leads to a very annoying flickering.
if (IsFullScreen()) return;
#endif

AppConfig::UiTemplateOptions& templates = g_Conf->Templates;

Expand Down

0 comments on commit 9af0303

Please sign in to comment.