aboutsummaryrefslogtreecommitdiff
path: root/swaynag/main.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-10-13 11:56:56 +0100
committerIan Fan <ianfan0@gmail.com>2018-10-14 13:33:12 +0100
commit4dba7c084acb6ca1c9d220f8eac918c046c199ad (patch)
treeff3a52a57ee7e8a9a3623e53422fe841afe6d124 /swaynag/main.c
parenta29ee77411be3f3fe988617d91cc5bed603e3dcb (diff)
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.
Diffstat (limited to 'swaynag/main.c')
0 files changed, 0 insertions, 0 deletions