diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-19 15:42:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-19 15:42:29 +0200 |
commit | 65b5116220a8ebf8a260716152409aa05377aacc (patch) | |
tree | ac2263332dcec1208f0baf81896cd39a23ae289f /src/login/logind-button.h | |
parent | f981b9c5be32a199bce6335196d986f5b7e45ba6 (diff) |
logind: if a lid-switch lock was taken while the lid was closed, recheck lid status when the lock is released
Diffstat (limited to 'src/login/logind-button.h')
-rw-r--r-- | src/login/logind-button.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/logind-button.h b/src/login/logind-button.h index dd6582e4bb..ca820ed7e5 100644 --- a/src/login/logind-button.h +++ b/src/login/logind-button.h @@ -46,12 +46,15 @@ struct Button { char *name; char *seat; int fd; + + bool lid_close_queued; }; Button* button_new(Manager *m, const char *name); void button_free(Button*b); int button_open(Button *b); int button_process(Button *b); +int button_recheck(Button *b); int button_set_seat(Button *b, const char *sn); const char* handle_button_to_string(HandleButton h); |