diff options
author | MightyPlaza <[email protected]> | 2023-08-05 18:53:13 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-08-05 20:53:13 +0200 |
commit | b925f1b49774b38ab670815e78726fe16295d0d9 (patch) | |
tree | 71346381884048dd91aa2e5684175e4cb27254ce | |
parent | 46cf4eb837c39255f24fa32b5a740c28ce1a324f (diff) | |
download | Hyprland-b925f1b49774b38ab670815e78726fe16295d0d9.tar.gz Hyprland-b925f1b49774b38ab670815e78726fe16295d0d9.zip |
fix workspace change focus (#2891)
-rw-r--r-- | src/layout/IHyprLayout.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |