diff options
author | vaxerski <[email protected]> | 2022-08-21 17:09:35 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-08-21 17:09:35 +0200 |
commit | 5569e1f69c97ee5bfd7aec616be2229045b356f2 (patch) | |
tree | 04b64f6ee3a4bcb91b7238a7b608bb89619674ae | |
parent | da725d7aa58dadfd7b59969ab079c9a73438f795 (diff) | |
download | Hyprland-5569e1f69c97ee5bfd7aec616be2229045b356f2.tar.gz Hyprland-5569e1f69c97ee5bfd7aec616be2229045b356f2.zip |
remove unused func
-rw-r--r-- | src/Compositor.cpp | 7 | ||||
-rw-r--r-- | src/Compositor.hpp | 1 |
2 files changed, 0 insertions, 8 deletions
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&); |