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

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();
}