From ecf282d331a8aa19c0fe10c739cd31d3b3ab64a2 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 25 Apr 2024 00:58:40 +0100 Subject: wlr-foreign-toplevel: move to new impl --- src/desktop/Window.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/desktop/Window.hpp') diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp index 4084bf57..b101700a 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -328,9 +328,6 @@ class CWindow { // for proper cycling. While cycling we can't just move the pointers, so we need to keep track of the last cycled window. CWindow* m_pLastCycledWindow = nullptr; - // Foreign Toplevel proto - wlr_foreign_toplevel_handle_v1* m_phForeignToplevel = nullptr; - // Window decorations std::deque> m_dWindowDecorations; std::vector m_vDecosToRemove; @@ -398,8 +395,6 @@ class CWindow { pid_t getPID(); IHyprWindowDecoration* getDecorationByType(eDecorationType); void removeDecorationByType(eDecorationType); - void createToplevelHandle(); - void destroyToplevelHandle(); void updateToplevel(); void updateSurfaceScaleTransformDetails(); void moveToWorkspace(PHLWORKSPACE); @@ -420,6 +415,7 @@ class CWindow { bool visibleOnMonitor(CMonitor* pMonitor); int workspaceID(); bool onSpecialWorkspace(); + void activate(); int getRealBorderSize(); void updateSpecialRenderData(); -- cgit v1.2.3