fix workspace change focus (#2891)

This commit is contained in:
MightyPlaza 2023-08-05 18:53:13 +00:00 committed by GitHub
parent 46cf4eb837
commit b925f1b497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -269,6 +269,8 @@ void IHyprLayout::onEndDragWindow() {
} }
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW); g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
g_pCompositor->focusWindow(DRAGGINGWINDOW);
} }
void IHyprLayout::onMouseMove(const Vector2D& mousePos) { void IHyprLayout::onMouseMove(const Vector2D& mousePos) {