summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2022-08-15 00:34:37 +0200
committervaxerski <vaxry@vaxry.net>2022-08-15 00:34:39 +0200
commitd47bfe6af1d040f5c5feb607cf24ea0947a4c8e8 (patch)
tree2b12a92a412b14a8c4e7cafe4d57c9be15c7331f /src/managers/KeybindManager.cpp
parentc982312c0757d7577b7646296bc1d857b88d6b6b (diff)
remove unused fixXWaylandWindowsOnWorkspace
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp11
1 files changed, 0 insertions, 11 deletions
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);