From b925f1b49774b38ab670815e78726fe16295d0d9 Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Sat, 5 Aug 2023 18:53:13 +0000 Subject: fix workspace change focus (#2891) --- src/layout/IHyprLayout.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 43d2c871..baae6616 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -269,6 +269,8 @@ void IHyprLayout::onEndDragWindow() { } g_pHyprRenderer->damageWindow(DRAGGINGWINDOW); + + g_pCompositor->focusWindow(DRAGGINGWINDOW); } void IHyprLayout::onMouseMove(const Vector2D& mousePos) { -- cgit v1.2.3