From c359d248257bdb68785597d2822f9c3a5ccbfdfe Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 4 Apr 2025 12:10:17 +0300 Subject: layout: Avoid calling interactive_move_end() in the middle of interactive_move_update() --- src/layout/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/layout') 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 Layout { } } + // 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, -- cgit