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 /protocols | |
parent | Merge pull request #3378 from jbeich/master (diff) | |
download | sway-5a24ed2bf2b4826a41542e03449d96ddd6ab63e0.tar.gz sway-5a24ed2bf2b4826a41542e03449d96ddd6ab63e0.tar.zst sway-5a24ed2bf2b4826a41542e03449d96ddd6ab63e0.zip |
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 'protocols')
0 files changed, 0 insertions, 0 deletions