diff options
| author | vaxerski <vaxry@vaxry.net> | 2022-12-28 19:52:12 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2022-12-28 19:52:12 +0100 |
| commit | b4ebc18367649613ec69def8a70012d690c34a1d (patch) | |
| tree | 0a3842b06227797aba92bec485bbcfc3422b2b17 /src/layout/IHyprLayout.cpp | |
| parent | a6699ef30c0a7f66c4b1ff6e38ea836b8e898015 (diff) | |
remove main_mod
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
| -rw-r--r-- | src/layout/IHyprLayout.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 708fa717..59592958 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -179,7 +179,6 @@ void IHyprLayout::onBeginDragWindow() { g_pHyprRenderer->damageWindow(DRAGGINGWINDOW); - // shadow to ignore any bound to MAIN_MOD g_pKeybindManager->shadowKeybinds(); } @@ -409,8 +408,8 @@ CWindow* IHyprLayout::getNextWindowCandidate(CWindow* pWindow) { return m_pLastTiledWindow; // if we don't, let's try to find any window that is in the middle - if (const auto PWINDOWCANDIDATE = g_pCompositor->vectorToWindowIdeal(pWindow->m_vRealPosition.goalv() + pWindow->m_vRealSize.goalv() / 2.f); PWINDOWCANDIDATE && - PWINDOWCANDIDATE != pWindow) + if (const auto PWINDOWCANDIDATE = g_pCompositor->vectorToWindowIdeal(pWindow->m_vRealPosition.goalv() + pWindow->m_vRealSize.goalv() / 2.f); + PWINDOWCANDIDATE && PWINDOWCANDIDATE != pWindow) return PWINDOWCANDIDATE; // if not, floating window |
