masterlayout: add previous mode for focusmaster command (#11361)

This commit is contained in:
Maaz Ahmed
2025-08-16 19:12:23 +05:30
committed by GitHub
parent 7580a9aaaa
commit 1cbb62ed6a
4 changed files with 95 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ static bool test() {
// test on workspace "window"
NLog::log("{}Switching to workspace 1", Colors::YELLOW);
OK(getFromSocket("/dispatch workspace 1"));
getFromSocket("/dispatch workspace 1"); // no OK: we might be on 1 already
OK(getFromSocket("/keyword workspace 5, monitor:HEADLESS-2, persistent:1"));
OK(getFromSocket("/keyword workspace 6, monitor:HEADLESS-PERSISTENT-TEST, persistent:1"));