summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-24 22:01:25 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-24 22:01:25 +0200
commit6c2175ed525cbdc4bb263afbbcbf464ed091f4cd (patch)
tree63439b0b77d0c9bec9cb5461da91cd45c68a9ff8 /src/Window.hpp
parent00ef40dda19c369626da487c00cfa87da0e3b185 (diff)
fixes to swapnext logic on dwindle
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 21169796..0ee164dc 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -118,6 +118,9 @@ public:
// For hidden windows and stuff
bool m_bHidden = false;
+ // for proper cycling. While cycling we can't just move the pointers, so we need to keep track of the last cycled window.
+ CWindow* m_pLastCycledWindow = nullptr;
+
// Foreign Toplevel proto
wlr_foreign_toplevel_handle_v1* m_phForeignToplevel = nullptr;