summaryrefslogtreecommitdiff
path: root/src/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop')
-rw-r--r--src/desktop/Window.cpp9
-rw-r--r--src/desktop/Window.hpp1
2 files changed, 0 insertions, 10 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp
index cfced8a3..c0752224 100644
--- a/src/desktop/Window.cpp
+++ b/src/desktop/Window.cpp
@@ -473,15 +473,6 @@ PHLWINDOW CWindow::x11TransientFor() {
return nullptr;
}
-void CWindow::removeDecorationByType(eDecorationType type) {
- for (auto const& wd : m_dWindowDecorations) {
- if (wd->getDecorationType() == type)
- m_vDecosToRemove.push_back(wd.get());
- }
-
- updateWindowDecos();
-}
-
void unregisterVar(void* ptr) {
((CBaseAnimatedVariable*)ptr)->unregister();
}
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index c72f010e..7b2cfbdf 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -399,7 +399,6 @@ class CWindow {
bool checkInputOnDecos(const eInputType, const Vector2D&, std::any = {});
pid_t getPID();
IHyprWindowDecoration* getDecorationByType(eDecorationType);
- void removeDecorationByType(eDecorationType);
void updateToplevel();
void updateSurfaceScaleTransformDetails(bool force = false);
void moveToWorkspace(PHLWORKSPACE);