mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Qt/HotkeyScheduler: Fix toggle fullscreen glitches
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user