Idle handling for dpms/lockscreen et al

Swayidle handles idle events and allows
for dpms and lockscreen handling. It also
handles systemd sleep events, and can
raise a lockscreen on sleep

Fixes #541
This commit is contained in:
Mattias Eriksson 2018-04-17 09:54:02 +02:00
parent 9d607b7253
commit 8fbafbfab5
16 changed files with 703 additions and 2 deletions

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;