aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-01-18 19:13:01 +0100
committerFurkan Sahin <furkan-dev@proton.me>2022-01-18 19:13:01 +0100
commitc6506d19d11a2b70afba5c4903f2ec81f8b7de90 (patch)
treed4517cb74758e1e5e8cb8a1875bb49c9d2b0fe22 /swaybar
parentbb1dd3ed76e73bafcede589d820ccae6b543c2fb (diff)
transaction: destroying nodes aren't hidden
Commit db2d1aea11db ("transaction: Only wait for ack from visible views") introduced a check which uses view_is_visible() to check if a view is still visible on the screen. However view_is_visible() will early return in case the node is in the destroying state. This is incorrect for transactions, since a destroying view which is visible will trigger configure events for other clients. This bug was visible when repeatedly opening and closing two views side by side, since we ignore the destroying node we get a frame where the still open view is shown with the old configure values and the rest is the desktop background. The next frame is than correct again. Fix this by considering destroying views as visible, we correctly wait for them and send the configure events to other views in time, fixing the background flicker. Fixes #6473
Diffstat (limited to 'swaybar')
0 files changed, 0 insertions, 0 deletions