mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 00:05:58 +01:00
events: don't switch to active workspace on workspace rule
This commit is contained in:
parent
1e311c947e
commit
52db216608
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
|||
if (!workspaceSilent) {
|
||||
if (pWorkspace->m_bIsSpecialWorkspace)
|
||||
g_pCompositor->getMonitorFromID(pWorkspace->m_iMonitorID)->setSpecialWorkspace(pWorkspace);
|
||||
else
|
||||
else if (PMONITOR->activeWorkspace != REQUESTEDWORKSPACEID)
|
||||
g_pKeybindManager->m_mDispatchers["workspace"](requestedWorkspaceName);
|
||||
|
||||
PMONITOR = g_pCompositor->m_pLastMonitor;
|
||||
|
|
Loading…
Reference in a new issue