aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-10-12 20:32:48 +0100
committerFurkan Sahin <furkan-dev@proton.me>2018-10-12 20:32:48 +0100
commit7badafe31e73990bc8f614d5806cc45aeeba3806 (patch)
tree873a09eca473242c15299ea1053966e9d163f6c6 /include/ipc.h
parent9e93e102cbd335d06d1d4314fb0c7fcc25d67da0 (diff)
swaybar: handle mode/hidden_state changes
As well as adding the hidden_state property to the bar config struct, this commit handles barconfig_update events when the mode or hidden_state changes, and uses a new function determine_bar_visibility to hide or show the bar as required, using, respectively, destroy_layer_surface, which is also newly added, and add_layer_surface, which has been changed to allow dynamically adding the surface.
Diffstat (limited to 'include/ipc.h')
0 files changed, 0 insertions, 0 deletions