aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-01-20 19:15:15 +0100
committervaxerski <[email protected]>2023-01-20 19:15:15 +0100
commitfb2679d5ef1e35358808b336711ad49cb7359717 (patch)
treea9345c0ccd7c4c48f6a40d87a6046d995edd9e91 /src/Compositor.hpp
parent6f3548b18486fe9eb9285c6a3971b9a1168e07f5 (diff)
downloadHyprland-fb2679d5ef1e35358808b336711ad49cb7359717.tar.gz
Hyprland-fb2679d5ef1e35358808b336711ad49cb7359717.zip
add a focus history vec
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 080ac96f..7bcd6cf4 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -96,6 +96,8 @@ class CCompositor {
CWindow* m_pLastWindow = nullptr;
CMonitor* m_pLastMonitor = nullptr;
+ std::vector<CWindow*> m_vWindowFocusHistory; // first element is the most recently focused.
+
SSeat m_sSeat;
bool m_bReadyToProcess = false;