diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-28 18:06:25 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-28 18:06:25 +0200 |
| commit | 726ba657850ef1680c82d3815c91421d9c588844 (patch) | |
| tree | c484e65aed71a124250cde844960257ebd423b8f /src/managers/InputManager.cpp | |
| parent | 4b985d3e3805fe9b9d751010146313d78257141b (diff) | |
enter all outputs in wlr/workspaces
Diffstat (limited to 'src/managers/InputManager.cpp')
| -rw-r--r-- | src/managers/InputManager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 2ba9dc06..6647aaeb 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -37,14 +37,8 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { const auto PMONITOR = g_pCompositor->getMonitorFromCursor(); if (PMONITOR && PMONITOR != g_pCompositor->m_pLastMonitor) { - // update wlr workspaces when this happens - if (g_pCompositor->m_pLastMonitor) - wlr_ext_workspace_group_handle_v1_output_leave(g_pCompositor->m_pLastMonitor->pWLRWorkspaceGroupHandle, g_pCompositor->m_pLastMonitor->output); - g_pCompositor->m_pLastMonitor = PMONITOR; - wlr_ext_workspace_group_handle_v1_output_enter(PMONITOR->pWLRWorkspaceGroupHandle, PMONITOR->output); - // set active workspace and deactivate all other in wlr g_pCompositor->deactivateAllWLRWorkspaces(g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace)->m_pWlrHandle); wlr_ext_workspace_handle_v1_set_active(g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace)->m_pWlrHandle, true); |
