mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-07 05:38:30 +02:00
daemon: add a ClientCount dbus property
Introduce a new "ClientCount" dbus property that can be queried and also watched to see if gamemode is currently active (or not).
This commit is contained in:
@@ -44,3 +44,8 @@ void game_mode_context_loop(GameModeContext *context) __attribute__((noreturn));
|
||||
* Inhibit the screensaver
|
||||
*/
|
||||
int game_mode_inhibit_screensaver(bool inhibit);
|
||||
|
||||
/**
|
||||
* Signal the ClientCount property has changed
|
||||
*/
|
||||
void game_mode_client_count_changed(void);
|
||||
|
Reference in New Issue
Block a user