aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar/id.c
diff options
context:
space:
mode:
authorOscar Cowdery Lack <oscar.cowderylack@gmail.com>2019-01-07 22:48:42 +1100
committerOscar Cowdery Lack <oscar.cowderylack@gmail.com>2019-01-07 22:55:42 +1100
commit5a24ed2bf2b4826a41542e03449d96ddd6ab63e0 (patch)
tree44afae9eb5b4f830b306cf69c850c5f1aaa91998 /sway/commands/bar/id.c
parent688f4137a573d87f591c86edafdaf7c0f4d0aee4 (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/bar/id.c')
0 files changed, 0 insertions, 0 deletions