summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-25 00:58:40 +0100
committerVaxry <vaxry@vaxry.net>2024-04-25 01:10:43 +0100
commitecf282d331a8aa19c0fe10c739cd31d3b3ab64a2 (patch)
tree8e2e83df8613f5a18e0a584911004b47ff688bf0 /src/desktop/Window.hpp
parent72e31d3335982382c289302a41f7144009c5c82f (diff)
wlr-foreign-toplevel: move to new impl
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp6
1 files changed, 1 insertions, 5 deletions
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<std::unique_ptr<IHyprWindowDecoration>> m_dWindowDecorations;
std::vector<IHyprWindowDecoration*> 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();