From d47bfe6af1d040f5c5feb607cf24ea0947a4c8e8 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 15 Aug 2022 00:34:37 +0200 Subject: remove unused fixXWaylandWindowsOnWorkspace --- src/managers/KeybindManager.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/managers/KeybindManager.cpp') diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 425736ff..ed953ef1 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -488,13 +488,6 @@ void CKeybindManager::changeworkspace(std::string args) { else PMONITOR->specialWorkspaceOpen = true; - // we need to move XWayland windows to narnia or otherwise they will still process our cursor and shit - // and that'd be annoying as hell - g_pCompositor->fixXWaylandWindowsOnWorkspace(OLDWORKSPACEID); - - // and fix on the new workspace - g_pCompositor->fixXWaylandWindowsOnWorkspace(PMONITOR->activeWorkspace); - // here and only here begin anim. we don't want to anim visible workspaces on other monitors. // check if anim left or right const auto ANIMTOLEFT = workspaceToChangeTo > OLDWORKSPACEID; @@ -563,10 +556,6 @@ void CKeybindManager::changeworkspace(std::string args) { else PMONITOR->specialWorkspaceOpen = true; - // we need to move XWayland windows to narnia or otherwise they will still process our cursor and shit - // and that'd be annoying as hell - g_pCompositor->fixXWaylandWindowsOnWorkspace(OLDWORKSPACE); - // set active and deactivate all other g_pCompositor->deactivateAllWLRWorkspaces(PWORKSPACE->m_pWlrHandle); PWORKSPACE->setActive(true); -- cgit v1.2.3