summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-27 00:25:37 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-27 00:25:37 +0200
commit3d48469cb43ac0609b112aea4e233276e04c4118 (patch)
treea50bafe1bb2953f116509e9436c2d265b51cabfa /src/Window.cpp
parent3263e48675107632b1a6547163153633a9cbfbf7 (diff)
fix decos with workspace offset
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index fbd06417..3d669e70 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -72,4 +72,9 @@ wlr_box CWindow::getWindowIdealBoundingBoxIgnoreReserved() {
}
return wlr_box{(int)POS.x, (int)POS.y, (int)SIZE.x, (int)SIZE.y};
+}
+
+void CWindow::updateWindowDecos() {
+ for (auto& wd : m_dWindowDecorations)
+ wd->updateWindow(this);
} \ No newline at end of file