swayfx/sway
Rouven Czerwinski 0adcf77f3f transaction: destroying nodes aren't hidden
Commit 37d7bc6998 ("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

(cherry picked from commit e4909ab4a3514d9b3bfb01473cd3cd1704c8cd05)
2022-01-21 13:13:16 +01:00
..
commands treat fullscreen windows as 'tiled' for commands/focus 2022-01-21 13:13:16 +01:00
config sway: replace noop_output by fallback_output 2021-11-25 17:48:34 +01:00
desktop transaction: destroying nodes aren't hidden 2022-01-21 13:13:16 +01:00
input input/cursor: treat swipe begin as idle activity too 2022-01-21 13:13:16 +01:00
tree container: Fix crash when view unmaps + maps quickly 2022-01-07 19:36:27 +01:00
commands.c Add focused_tab_title 2021-12-10 16:09:29 +01:00
config.c Add focused_tab_title 2021-12-10 16:09:29 +01:00
criteria.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Update wlr_box includes 2021-07-07 11:29:14 +02:00
ipc-server.c sway: replace noop_output by fallback_output 2021-11-25 17:48:34 +01:00
main.c Print deprecation notice when running SUID 2022-01-16 19:26:57 +01:00
meson.build Add 'output render_bit_depth [8|10]' command 2021-11-23 15:51:54 +01:00
server.c Add support for linux-dmabuf surface hints 2021-12-13 09:59:33 -06:00
sway-bar.5.scd man: update Pango font description URL 2021-08-04 02:15:04 +02:00
sway-input.5.scd sway-input.5.scd: Fix spelling errors 2021-10-02 10:21:28 +02:00
sway-ipc.7.scd sway-ipc.7.scd: fix typo 2021-09-19 17:28:37 +02:00
sway-output.5.scd Add 'output render_bit_depth [8|10]' command 2021-11-23 15:51:54 +01:00
sway.1.scd man: update maintainer 2021-01-08 09:33:51 +01:00
sway.5.scd Add focused_tab_title 2021-12-10 16:09:29 +01:00
swaynag.c Bump RLIMIT_NOFILE 2021-10-30 08:19:35 -06:00
xdg_activation_v1.c Implement xdg-activation-v1 2021-06-02 19:39:40 +02:00
xdg_decoration.c Fix compile after wlroots commit c3e54021f8bbf3ec1c1e5906459be0ae85f5fb8c 2021-10-07 21:29:37 +03:00