diff options
author | Mattias Eriksson <snaggen@mayam.com> | 2018-04-17 09:54:02 +0200 |
---|---|---|
committer | Mattias Eriksson <snaggen@mayam.com> | 2018-05-13 00:30:09 +0200 |
commit | 8fbafbfab5671d56dd469f2205b7906c4a7f7c7c (patch) | |
tree | ab4eab0020d97dc5091b72479c383989ccc84729 /sway/config.c | |
parent | Merge pull request #1967 from emersion/remove-xdg-popup-unmap (diff) | |
download | sway-8fbafbfab5671d56dd469f2205b7906c4a7f7c7c.tar.gz sway-8fbafbfab5671d56dd469f2205b7906c4a7f7c7c.tar.zst sway-8fbafbfab5671d56dd469f2205b7906c4a7f7c7c.zip |
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
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 270c1d86..34c8a280 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -165,6 +165,7 @@ static void config_defaults(struct sway_config *config) { | |||
165 | config->floating_mod = 0; | 165 | config->floating_mod = 0; |
166 | config->dragging_key = BTN_LEFT; | 166 | config->dragging_key = BTN_LEFT; |
167 | config->resizing_key = BTN_RIGHT; | 167 | config->resizing_key = BTN_RIGHT; |
168 | |||
168 | if (!(config->floating_scroll_up_cmd = strdup(""))) goto cleanup; | 169 | if (!(config->floating_scroll_up_cmd = strdup(""))) goto cleanup; |
169 | if (!(config->floating_scroll_down_cmd = strdup(""))) goto cleanup; | 170 | if (!(config->floating_scroll_down_cmd = strdup(""))) goto cleanup; |
170 | if (!(config->floating_scroll_left_cmd = strdup(""))) goto cleanup; | 171 | if (!(config->floating_scroll_left_cmd = strdup(""))) goto cleanup; |