Merge pull request #1824 from snaggen/idle

DPMS and lock handling
This commit is contained in:
Drew DeVault 2018-05-13 10:11:10 -04:00 committed by GitHub
commit 61aa0937a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 636 additions and 2 deletions

View file

@ -107,6 +107,12 @@ struct seat_config {
list_t *attachments; // list of seat_attachment configs
};
enum config_dpms {
DPMS_IGNORE,
DPMS_ON,
DPMS_OFF
};
/**
* Size and position configuration for a particular output.
*
@ -123,6 +129,7 @@ struct output_config {
char *background;
char *background_option;
enum config_dpms dpms_state;
};
/**

View file

@ -21,6 +21,7 @@ struct sway_server {
struct wlr_compositor *compositor;
struct wlr_data_device_manager *data_device_manager;
struct wlr_idle *idle;
struct sway_input_manager *input;