diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 088440f1..1d1fe033 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1284,13 +1284,6 @@ void CCompositor::updateWindowAnimatedDecorationValues(CWindow* pWindow) { } } -void CCompositor::moveWindowToWorkspace(CWindow* pWindow, const std::string& work) { - m_pLastWindow = pWindow; - g_pKeybindManager->moveActiveToWorkspace(work); - - g_pInputManager->refocus(); -} - int CCompositor::getNextAvailableMonitorID() { int64_t topID = -1; for (auto& m : m_vRealMonitors) { diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 2e8c8dfe..6ab5165f 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -143,7 +143,6 @@ public: CMonitor* getMonitorInDirection(const char&); void updateAllWindowsAnimatedDecorationValues(); void updateWindowAnimatedDecorationValues(CWindow*); - void moveWindowToWorkspace(CWindow*, const std::string&); int getNextAvailableMonitorID(); void moveWorkspaceToMonitor(CWorkspace*, CMonitor*); bool workspaceIDOutOfBounds(const int&);