Permalink
Browse files

Merge pull request #6891 from spycrab/qt_fs_glitch

Qt/HotkeyScheduler: Fix toggle fullscreen glitches
  • Loading branch information...
spycrab committed May 18, 2018
2 parents 49c9c1e + cc55817 commit 57f9928c4989b9dd92c43124b842ac2b9bd84764
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 57f9928

Please sign in to comment.