From e823b5d6930af15c1a9c1d76682e8e7be4a0eeb6 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 21 Apr 2024 16:28:50 +0100 Subject: Window: add destroy signal --- src/desktop/Window.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/desktop/Window.hpp') 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; -- cgit v1.2.3