diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-13 10:11:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-13 10:11:10 -0400 |
commit | 61aa0937a75d23c0f2a00a8cea52c08bf69164dd (patch) | |
tree | 5f2e7817313b657431870862d4059b62bcd2e396 /sway/server.c | |
parent | 0c96d757d0d5d1762390dd119cbe344e8781c19f (diff) | |
parent | f40049b5cd8d0274a62399cbdd1f8fd0e7668be3 (diff) |
Merge pull request #1824 from snaggen/idle
DPMS and lock handling
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index 8c41ee87..ccc215eb 100644 --- a/sway/server.c +++ b/sway/server.c @@ -16,6 +16,7 @@ #include <wlr/types/wlr_xcursor_manager.h> #include <wlr/types/wlr_xdg_output.h> #include <wlr/types/wlr_wl_shell.h> +#include <wlr/types/wlr_idle.h> #include <wlr/util/log.h> // TODO WLR: make Xwayland optional #include <wlr/xwayland.h> @@ -61,6 +62,7 @@ bool server_init(struct sway_server *server) { server->data_device_manager = wlr_data_device_manager_create(server->wl_display); + server->idle = wlr_idle_create(server->wl_display); wlr_screenshooter_create(server->wl_display); wlr_gamma_control_manager_create(server->wl_display); wlr_primary_selection_device_manager_create(server->wl_display); |