mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-12 12:32:06 +00:00
Clean up screen saver inhibition and apply setting change immediately.
This commit is contained in:
parent
fa83a3a114
commit
50ec747840
5 changed files with 33 additions and 48 deletions
|
@ -14,9 +14,9 @@ void Init();
|
|||
void Shutdown();
|
||||
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
void EnableScreenSaver(unsigned long win, bool enable);
|
||||
void InhibitScreenSaver(unsigned long win, bool enable);
|
||||
#else
|
||||
void EnableScreenSaver(bool enable);
|
||||
void InhibitScreenSaver(bool enable);
|
||||
#endif
|
||||
|
||||
// Calls std::locale::global, selecting a fallback locale if the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue