mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 06:01:56 -07:00
minor focus fixes with LS-es and moving windows
This commit is contained in:
@@ -1015,6 +1015,10 @@ void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) {
|
||||
// manually post event cuz it got ignored above
|
||||
g_pEventManager->postEvent(SHyprIPCEvent{"movewindow", getFormat("%x,%s", PWINDOW, PWORKSPACE->m_szName.c_str())});
|
||||
|
||||
// this window is gone. Unfocus if needed
|
||||
if (g_pCompositor->m_pLastWindow == PWINDOW)
|
||||
g_pCompositor->focusWindow(nullptr);
|
||||
|
||||
g_pInputManager->refocus();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user