diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 19:42:43 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 19:42:43 +0200 |
| commit | ba7e3cd9a18d6c74bc1f3819ec7485e25daf3472 (patch) | |
| tree | fdc6cf727d47b4adc953f1c9edfc0f1686ad8a63 /src/managers/InputManager.cpp | |
| parent | d8d8a29fc2a6e134c15dac64a919991b535acca4 (diff) | |
Major IPC Rework + Added Socket2
IPC is now done with UNIX sockets instead of TCP ones (security!), and added Socket2, see Wiki.
Diffstat (limited to 'src/managers/InputManager.cpp')
| -rw-r--r-- | src/managers/InputManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 6c689c23..b5b8b806 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -89,6 +89,9 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { // 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); + + // event + g_pEventManager->postEvent(SHyprIPCEvent("workspace", g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace)->m_szName)); } Vector2D surfaceCoords; |
