chiark / gitweb /
logind: only allow one shutdown/sleep action to be queued at the same time
[elogind.git] / src / login / logind.h
index 816635dcfcbb919324147475ef7cf32d7c408897..fe6ea0fd3476231bd2fbd5739c881e1923ab8d8a 100644 (file)
@@ -100,7 +100,9 @@ struct Manager {
 
         usec_t inhibit_delay_max;
 
-        int idle_action_fd;
+        char* action_job;
+
+        int idle_action_fd; /* the timer_fd */
         usec_t idle_action_usec;
         usec_t idle_action_not_before_usec;
         HandleAction idle_action;