diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-04 12:10:17 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-05 09:42:38 +0300 |
| commit | c359d248257bdb68785597d2822f9c3a5ccbfdfe (patch) | |
| tree | d8dd11ac84e0c9b67bf663eb53fcd0c6c4c54d63 | |
| parent | e8da89a430f4af0accfe80efe286b2cffd20a4aa (diff) | |
| download | niri-c359d248257bdb68785597d2822f9c3a5ccbfdfe.tar.gz niri-c359d248257bdb68785597d2822f9c3a5ccbfdfe.tar.bz2 niri-c359d248257bdb68785597d2822f9c3a5ccbfdfe.zip | |
layout: Avoid calling interactive_move_end() in the middle of interactive_move_update()
| -rw-r--r-- | src/layout/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 658d50af..bcafbb89 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -3794,6 +3794,10 @@ impl<W: LayoutElement> Layout<W> { } } + // Clear it before calling remove_window() to avoid running interactive_move_end() + // in the middle of interactive_move_update() and the confusion that causes. + self.interactive_move = None; + let RemovedTile { mut tile, width, |
