diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-08 20:28:41 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-08 20:28:41 +0000 |
| commit | 1cf829c889ea50476ac0b45d9031e6c1a7da0f55 (patch) | |
| tree | da62fc80e36b64965208369fc40cb8b34657ac35 /src/layout/IHyprLayout.cpp | |
| parent | 17992b633ddacae06dea9743e1464cb990ee596f (diff) | |
minor loose focus fixes
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
| -rw-r--r-- | src/layout/IHyprLayout.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 2636c1aa..fa697bea 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -183,10 +183,13 @@ void IHyprLayout::onEndDragWindow() { if (DRAGGINGWINDOW->m_bDraggingTiled) { DRAGGINGWINDOW->m_bIsFloating = false; + g_pInputManager->refocus(); changeWindowFloatingMode(DRAGGINGWINDOW); } g_pHyprRenderer->damageWindow(DRAGGINGWINDOW); + + g_pCompositor->focusWindow(DRAGGINGWINDOW); } void IHyprLayout::onMouseMove(const Vector2D& mousePos) { |
