From 416fdc8d06c64e8c4a52dd5558e641c396ebf3cd Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 15 Aug 2022 15:51:40 +0200 Subject: [PATCH] layout: only arrange on user command if layout is active --- river/command/layout.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/river/command/layout.zig b/river/command/layout.zig index 4fc7de1..fc7c7a5 100644 --- a/river/command/layout.zig +++ b/river/command/layout.zig @@ -77,5 +77,5 @@ pub fn sendLayoutCmd( } else return; layout.layout.sendUserCommand(args[2]); - output.arrangeViews(); + if (layout == output.current.layout) output.arrangeViews(); }