diff options
author | Oscar Cowdery Lack <oscar.cowderylack@gmail.com> | 2019-01-07 22:48:42 +1100 |
---|---|---|
committer | Oscar Cowdery Lack <oscar.cowderylack@gmail.com> | 2019-01-07 22:55:42 +1100 |
commit | 5a24ed2bf2b4826a41542e03449d96ddd6ab63e0 (patch) | |
tree | 44afae9eb5b4f830b306cf69c850c5f1aaa91998 /sway/commands/input/scroll_button.c | |
parent | 688f4137a573d87f591c86edafdaf7c0f4d0aee4 (diff) |
swayidle: Fix sleep inhibitor not being acquired
Fixes #3377.
The sleep lock file descriptor was immediately closed after it was
acquired due to the dbus message being freed. Now the fd is duplicated
before the message is freed so the inhibitor stays active.
Diffstat (limited to 'sway/commands/input/scroll_button.c')
0 files changed, 0 insertions, 0 deletions