From 2ad2e1d5f5feaf1b7dd65dc162d16547f6b0b20f Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Sat, 30 Dec 2023 14:18:53 +0000 Subject: groupbar: add enabling groupbar and setting priority (#4299) --- src/Window.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Window.cpp') 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; -- cgit v1.2.3