improve detection/state handling

This commit is contained in:
deepend committed 2026-12-05 10:29:37 -06:00
1 parent 0566e7b7a9
commit acada28e3f
10 files changed
+130 -35

No files matched your search

+2
View File
@@ -12,6 +12,8 @@ struct server;
void autoaway_activity (void);
void autoaway_manual (struct server *serv);
void autoaway_reset (struct server *serv);
void autoaway_ack_back (struct server *serv);
gboolean autoaway_request_back (struct server *serv);
void autoaway_reinit (void);
/* Both samples are in microseconds; -1 means desktop idle is unavailable. */
void autoaway_check (gint64 now, gint64 desktop_idle);