layout: only arrange on user command if layout is active

This commit is contained in:
Isaac Freund 2022-08-15 15:51:40 +02:00
parent 765a3f4aff
commit 416fdc8d06
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -77,5 +77,5 @@ pub fn sendLayoutCmd(
} else return;
layout.layout.sendUserCommand(args[2]);
output.arrangeViews();
if (layout == output.current.layout) output.arrangeViews();
}