summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-10 13:11:02 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-10 13:11:02 +0200
commitd94fe3d063a910cab64fbdc132f6aa168a52e14d (patch)
treeb0451f11357fbc74d1f456ee0737f4d24b110924 /src/layout/IHyprLayout.cpp
parentf663fa209ce72571bd4c551a19757ccd58b3fb7f (diff)
added window pinning
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
-rw-r--r--src/layout/IHyprLayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index 09ca27c7..873e51f4 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -226,6 +226,8 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) {
return;
}
+ pWindow->m_bPinned = false;
+
const auto TILED = isWindowTiled(pWindow);
if (!TILED) {