summaryrefslogtreecommitdiff
path: root/src/login/logind-button.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-19 15:42:29 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-19 15:42:29 +0200
commit65b5116220a8ebf8a260716152409aa05377aacc (patch)
treeac2263332dcec1208f0baf81896cd39a23ae289f /src/login/logind-button.h
parentf981b9c5be32a199bce6335196d986f5b7e45ba6 (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.h3
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);