Repository navigation
Conversation
signal_post_repaint_barriers only cleared the wp_fifo_v1 barriers of windows drawn on the repainted output. A window the config hides (minimized, a hidden tab, a window hidden by its program) is drawn on none, so its barrier stayed set: a client that draws while hidden with a FIFO present mode then waited for it for good and froze (a clipboard manager redrawing after a copy). Such windows now have their barriers cleared at each output refresh.
sachahjkl
force-pushed
the
fix/fifo-hidden-windows
branch
from
November 16, 2026 21:45
b27ac93 to
5a8c385
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
signal_post_repaint_barriersonly cleared thewp_fifo_v1barriers of windows drawn on the output being repainted (window_frame_processing_applies_to_output). A window the config hides (visible(false), idle, minimized, a hidden tab) is drawn on no output, so its barrier stayed set for good. A client that keeps drawing while hidden with a FIFO present mode (set_barrieron one commit,wait_barrieron the next, as the NVIDIA and Mesa Vulkan drivers do) then waits on that barrier forever: here a clipboard manager froze when it redrew its hidden window after a copy.Windows drawn on no output now have their barriers cleared at each output refresh as well, so a hidden FIFO client is paced by the refresh instead of blocked. Windows drawn on an output are handled as before.
Tested: a new integration test,
cargo test -p shojiwm_rs --test fifo_hidden_window: a window hidden by the config commits withset_barrier, then commits a change withwait_barrier; aftersignal_post_repaint_barriersthe change is applied. It fails without the change (the second commit stays blocked) and passes with it.