diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-10-13 11:56:56 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-10-14 13:33:12 +0100 |
commit | 4dba7c084acb6ca1c9d220f8eac918c046c199ad (patch) | |
tree | ff3a52a57ee7e8a9a3623e53422fe841afe6d124 /sway/commands/input/scroll_method.c | |
parent | a29ee77411be3f3fe988617d91cc5bed603e3dcb (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 'sway/commands/input/scroll_method.c')
0 files changed, 0 insertions, 0 deletions