mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 00:05:59 +01:00
windows: don't force workspace change on same tracked workspace
This commit is contained in:
parent
aab1df50ab
commit
4f1214c7e9
1 changed files with 4 additions and 2 deletions
|
@ -85,11 +85,13 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||||
|
|
||||||
Debug::log(LOG, "HL_INITIAL_WORKSPACE_TOKEN {} -> {}", SZTOKEN, WS);
|
Debug::log(LOG, "HL_INITIAL_WORKSPACE_TOKEN {} -> {}", SZTOKEN, WS);
|
||||||
|
|
||||||
|
if (g_pCompositor->getWorkspaceByString(WS) != PWINDOW->m_pWorkspace) {
|
||||||
requestedWorkspace = WS;
|
requestedWorkspace = WS;
|
||||||
workspaceSilent = true;
|
workspaceSilent = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (g_pInputManager->m_bLastFocusOnLS) // waybar fix
|
if (g_pInputManager->m_bLastFocusOnLS) // waybar fix
|
||||||
g_pInputManager->releaseAllMouseButtons();
|
g_pInputManager->releaseAllMouseButtons();
|
||||||
|
|
Loading…
Reference in a new issue