daemon: emit client count change automatically

Every time a game is (un)-registered and we emit the corresponding
signal, also emit the properties change signal for ClientCount.
This commit is contained in:
Christian Kellner
2019-07-02 17:42:37 +02:00
parent d2bab2962d
commit f9827edfb6
3 changed files with 6 additions and 12 deletions

View File

@ -197,6 +197,5 @@ int game_mode_get_gpu(GameModeGPUInfo *info);
*/
void game_mode_context_loop(GameModeContext *context) __attribute__((noreturn));
int game_mode_inhibit_screensaver(bool inhibit);
void game_mode_client_count_changed(void);
void game_mode_client_registered(pid_t);
void game_mode_client_unregistered(pid_t);