diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 22:35:51 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 22:35:51 +0100 |
| commit | a1a8f3b6d579d5df3a46dff92a221b7ad48f3e84 (patch) | |
| tree | 6aa449e3e7fbd706ec0903e629dd64b211890cdb /src/Window.hpp | |
| parent | 00098aef4f55eb53763e663bf470c7359da302a1 (diff) | |
change to lists, titles etc
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
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 |
