Permalink
Browse files

Qt/HotkeyScheduler: Fix toggle fullscreen glitches

  • Loading branch information...
spycrab committed May 18, 2018
1 parent 9bdf7c4 commit cc55817ec969a6c3ae6365bd895e3c52cbc6a94d
Showing with 5 additions and 0 deletions.
  1. +5 −0 Source/Core/DolphinQt2/HotkeyScheduler.cpp
@@ -155,8 +155,13 @@ void HotkeyScheduler::Run()
// Fullscreen
if (IsHotkey(HK_FULLSCREEN))
{
emit FullScreenHotkey();
// Prevent fullscreen from getting toggled too often
Common::SleepCurrentThread(100);
}
// Pause and Unpause
if (IsHotkey(HK_PLAY_PAUSE))
emit TogglePauseHotkey();

0 comments on commit cc55817

Please sign in to comment.