mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
linux: Use D-Bus to inhibit screensaver
This commit is contained in:
parent
4bc1546596
commit
2748771cb3
9 changed files with 229 additions and 41 deletions
|
@ -17,11 +17,7 @@ void Shutdown();
|
|||
void InitControllers(const WindowSystemInfo& wsi);
|
||||
void ShutdownControllers();
|
||||
|
||||
#ifdef HAVE_X11
|
||||
void InhibitScreenSaver(unsigned long win, bool enable);
|
||||
#else
|
||||
void InhibitScreenSaver(bool enable);
|
||||
#endif
|
||||
void InhibitScreenSaver(bool inhibit);
|
||||
|
||||
// Calls std::locale::global, selecting a fallback locale if the
|
||||
// requested locale isn't available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue