From 2e111c8cf97d391c25fc6263660271fab605ece1 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 29 Feb 2024 14:26:02 +0000 Subject: xdg: rewrite entire popup implementation --- src/Window.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp index 476cb1c5..f4809d11 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -8,6 +8,7 @@ #include "config/ConfigDataValues.hpp" #include "helpers/Vector2D.hpp" #include "desktop/WLSurface.hpp" +#include "desktop/Popup.hpp" #include "macros.hpp" #include "managers/XWaylandManager.hpp" @@ -193,7 +194,6 @@ class CWindow { DYNLISTENER(setTitleWindow); DYNLISTENER(setGeometryX11U); DYNLISTENER(fullscreenWindow); - DYNLISTENER(newPopupXDG); DYNLISTENER(requestMove); DYNLISTENER(requestMinimize); DYNLISTENER(requestMaximize); @@ -278,8 +278,9 @@ class CWindow { // bitfield eSuppressEvents uint64_t m_eSuppressedEvents = SUPPRESS_NONE; - // for the subsurface tree + // desktop components std::unique_ptr m_pSubsurfaceHead; + std::unique_ptr m_pPopupHead; // Animated border CGradientValueData m_cRealBorderColor = {0}; -- cgit v1.2.3