summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.hpp
diff options
context:
space:
mode:
authorMaaz Ahmed <mzahmed95@gmail.com>2025-08-16 19:12:23 +0530
committerGitHub <noreply@github.com>2025-08-16 14:42:23 +0100
commit1cbb62ed6a3d9232448a89fe569d253794e5f114 (patch)
tree4233d23bfd770234a4b96cc4af77c3af7afcb2a4 /src/layout/MasterLayout.hpp
parent7580a9aaaad09e8c051e69336389cbbf7f447623 (diff)
masterlayout: add previous mode for focusmaster command (#11361)
Diffstat (limited to 'src/layout/MasterLayout.hpp')
-rw-r--r--src/layout/MasterLayout.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.hpp b/src/layout/MasterLayout.hpp
index 4da31a8d..a5968916 100644
--- a/src/layout/MasterLayout.hpp
+++ b/src/layout/MasterLayout.hpp
@@ -42,6 +42,8 @@ struct SMasterNodeData {
struct SMasterWorkspaceData {
WORKSPACEID workspaceID = WORKSPACE_INVALID;
eOrientation orientation = ORIENTATION_LEFT;
+ // Previously focused non-master window when `focusmaster previous` command was issued
+ PHLWINDOWREF focusMasterPrev;
//
bool operator==(const SMasterWorkspaceData& rhs) const {