sway-patched-tray-menu-github/sway/desktop
Kenny Levinsen 3f327b3db0 desktop/output: Stop repaint loop when not needed
1e0031781f refactored repaint to accumulate all changes in a single
wlr_output_state and commit them at the end of the repaint loop,
replacing a call to wlr_scene_output_commit. wlr_scene_output_commit
contains an early bail-out when no frame has been requested and no
damage has accumulated, which was not replicated as part of this
refactor, causing the repaint loop to never pause.

Replicate the logic to stop the repaint loop as needed.

Fixes: 1e0031781f ("desktop/output: unify page-flip codepath")
2024-07-14 18:24:13 -04:00
..
idle_inhibit_v1.c Drop support for KDE's idle protocol 2023-10-05 00:01:54 +02:00
launcher.c Drop server.h include from input/input-manager.h 2024-05-27 09:28:43 -04:00
layer_shell.c desktop/layer_shell: provide fractional scale on creation 2024-05-07 16:18:43 +02:00
output.c desktop/output: Stop repaint loop when not needed 2024-07-14 18:24:13 -04:00
transaction.c transaction: fix missing top border with hide_lone_tab 2024-07-03 10:10:30 -04:00
xdg_shell.c xdg_shell: don't send configure events to uninitialized surfaces 2024-07-03 23:38:38 +02:00
xwayland.c Chase wlroots!2434 2024-07-14 23:19:19 +02:00