From a1a8f3b6d579d5df3a46dff92a221b7ad48f3e84 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 18 Mar 2022 22:35:51 +0100 Subject: change to lists, titles etc --- src/Window.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp index d262efb4..8c9c25ce 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -37,6 +37,7 @@ public: bool m_bIsFloating = false; bool m_bIsFullscreen = false; uint64_t m_iMonitorID = -1; + std::string m_szTitle = ""; // XWayland stuff bool m_bIsX11 = false; @@ -44,5 +45,11 @@ public: DYNLISTENER(activateX11); DYNLISTENER(configureX11); // - + + + // For the list lookup + bool operator==(const CWindow& rhs) { + return m_uSurface.xdg == rhs.m_uSurface.xdg && m_uSurface.xwayland == rhs.m_uSurface.xwayland && m_vPosition == rhs.m_vPosition && m_vSize == rhs.m_vSize; + } + }; \ No newline at end of file -- cgit v1.2.3