summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorMightyPlaza <123664421+MightyPlaza@users.noreply.github.com>2023-12-30 14:18:53 +0000
committerGitHub <noreply@github.com>2023-12-30 15:18:53 +0100
commit2ad2e1d5f5feaf1b7dd65dc162d16547f6b0b20f (patch)
tree2871c4b6b4541b260c060d48d37a9de46765b02b /src/Window.cpp
parent5f8e4068e51480791dbccbe48e86910e9b3cc881 (diff)
groupbar: add enabling groupbar and setting priority (#4299)
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index debacde0..01b58253 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -222,6 +222,12 @@ void CWindow::removeWindowDeco(IHyprWindowDecoration* deco) {
g_pLayoutManager->getCurrentLayout()->recalculateWindow(this);
}
+void CWindow::uncacheWindowDecos() {
+ for (auto& wd : m_dWindowDecorations) {
+ g_pDecorationPositioner->uncacheDecoration(wd.get());
+ }
+}
+
bool CWindow::checkInputOnDecos(const eInputType type, const Vector2D& mouseCoords, std::any data) {
if (type != INPUT_TYPE_DRAG_END && hasPopupAt(mouseCoords))
return false;