summaryrefslogtreecommitdiff
path: root/src/desktop
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-12-17 10:31:27 -0600
committerGitHub <noreply@github.com>2024-12-17 17:31:27 +0100
commite2c78c00e50a0835c3830c8a0cd82049dc5700b8 (patch)
tree7ac17c752f1569e60a63e5356e199de6968cbb0e /src/desktop
parentbd7092a9feb39275a9eb1426046a46671e0fe580 (diff)
internal: remove dead code (#8748)
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);