Repository navigation
Fix: stop dragged auto-tiled windows flickering - #114
Merged
Merged
Conversation
benleppke
marked this pull request as ready for review
October 20, 2026 17:14
A tiled window stays attached to its old position while it is being dragged, so any layout pass during the drag can move it back there and fight the pointer which causes it to flicker between both positions rapidly. Skip moving a window the user is holding, and drop any pending reflow when a drag starts.
benleppke
force-pushed
the
fix/dragged-window-flicker
branch
from
October 20, 2026 22:27
26ace32 to
f79748a
Compare
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.
Problem
When auto-tiling is enabled, dragging a tiled window with the mouse makes it rapidly flicker between its original tiled position and the current cursor position. This is most noticeable when using multiple displays, but the same behavior occurs on a single display as well (though it is less noticeable and harder to reproduce).
o-tiling_dragged_window_bug_two_displays.mp4
o-tiling_dragged_window_bug_one_display.mp4
Root Cause
A tiled window stays attached to its old position for the drag operation and is reattached on drop. Any layout pass that runs mid-drag moves it back to its old tile.
Fix
To fix this we need two small changes:
o-tiling_dragged_window_fix_two_displays.mp4.mp4
o-tiling_dragged_window_fix_one_display.mp4