From ba7e3cd9a18d6c74bc1f3819ec7485e25daf3472 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 24 May 2022 19:42:43 +0200 Subject: Major IPC Rework + Added Socket2 IPC is now done with UNIX sockets instead of TCP ones (security!), and added Socket2, see Wiki. --- src/managers/InputManager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/managers/InputManager.cpp') 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; -- cgit v1.2.3