1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 13:22:17 +01:00
sway/swaybar
Ian Fan 4dba7c084a swaybar: when hiding bar, save old height to be restored upon reshow
Previously, when the bar was hidden, the height would be set to 0.
This meant that if the bar was empty upon reshow, it would not render
since the height was still 0, which made it seem there was a problem.
Now, the height is not reset, but the width is, to indicate upon reshow
that the layer surface needed reconfiguring.
2018-10-14 13:33:12 +01:00
..
bar.c swaybar: when hiding bar, save old height to be restored upon reshow 2018-10-14 13:33:12 +01:00
config.c swaybar: handle mode/hidden_state changes 2018-10-14 13:33:12 +01:00
event_loop.c
i3bar.c swaybar: add leading comma to click event JSON 2018-10-02 14:05:51 +01:00
ipc.c swaybar: show hidden bar on urgency 2018-10-14 13:33:12 +01:00
main.c swaybar: save id upon startup 2018-10-14 13:33:12 +01:00
meson.build
render.c swaybar: when hiding bar, save old height to be restored upon reshow 2018-10-14 13:33:12 +01:00
status_line.c swaybar: send signal to status when hiding or showing bar 2018-10-14 13:33:12 +01:00