diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 22:21:31 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 22:21:31 +0200 |
| commit | 0ad33742e14f73bb46acf9bad97fe963d495e025 (patch) | |
| tree | be4ab119adf336379acced540fce25ada0c50222 /src/managers/InputManager.cpp | |
| parent | ad7e66adaabb14b3c9e5287c95bcff6cbc1472a1 (diff) | |
fix workspace event and add activewindow and activemon
Diffstat (limited to 'src/managers/InputManager.cpp')
| -rw-r--r-- | src/managers/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index b5b8b806..e3e4bd36 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -91,7 +91,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { wlr_ext_workspace_handle_v1_set_active(g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace)->m_pWlrHandle, true); // event - g_pEventManager->postEvent(SHyprIPCEvent("workspace", g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace)->m_szName)); + g_pEventManager->postEvent(SHyprIPCEvent("activemon", PMONITOR->szName + "," + g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace)->m_szName)); } Vector2D surfaceCoords; |
