summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-21 16:28:50 +0100
committerVaxry <vaxry@vaxry.net>2024-04-21 16:54:50 +0100
commite823b5d6930af15c1a9c1d76682e8e7be4a0eeb6 (patch)
treee5cb3d2d63ae273e2eb2271b8226e7ac9c6324f4 /src/desktop/Window.hpp
parente69bc5b87042b27e4f29601346ddbcac364d38cf (diff)
Window: add destroy signal
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index 8a368ea6..5007cef4 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -12,6 +12,7 @@
#include "../macros.hpp"
#include "../managers/XWaylandManager.hpp"
#include "DesktopTypes.hpp"
+#include "../helpers/signal/Signal.hpp"
enum eIdleInhibitMode {
IDLEINHIBIT_NONE = 0,
@@ -216,6 +217,10 @@ class CWindow {
CWLSurface m_pWLSurface;
+ struct {
+ CSignal destroy;
+ } events;
+
union {
wlr_xdg_surface* xdg;
wlr_xwayland_surface* xwayland;