From 1cbb62ed6a3d9232448a89fe569d253794e5f114 Mon Sep 17 00:00:00 2001 From: Maaz Ahmed Date: Sat, 16 Aug 2025 19:12:23 +0530 Subject: masterlayout: add previous mode for focusmaster command (#11361) --- src/layout/MasterLayout.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/layout/MasterLayout.hpp') 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 { -- cgit v1.2.3