mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 18:25:59 +01:00
monitors: toggle special on changeworkspace with special
This commit is contained in:
parent
d1d4683c91
commit
8435d6fc12
1 changed files with 4 additions and 1 deletions
|
@ -503,7 +503,10 @@ void CMonitor::changeWorkspace(CWorkspace* const pWorkspace, bool internal) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (pWorkspace->m_bIsSpecialWorkspace) {
|
if (pWorkspace->m_bIsSpecialWorkspace) {
|
||||||
Debug::log(ERR, "BUG THIS: Attempted to changeWorkspace to special!");
|
if (specialWorkspaceID != pWorkspace->m_iID) {
|
||||||
|
Debug::log(LOG, "changeworkspace on special, togglespecialworkspace to id %i", pWorkspace->m_iID);
|
||||||
|
g_pKeybindManager->m_mDispatchers["togglespecialworkspace"](pWorkspace->m_szName == "special" ? "" : pWorkspace->m_szName);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue