Added hyprctl setcursor

This commit is contained in:
vaxerski
2022-08-10 21:22:11 +02:00
parent f64f94ca56
commit 9b39a0c2e0
3 changed files with 67 additions and 0 deletions

View File

@@ -158,6 +158,8 @@ void CMonitor::onConnect(bool noRule) {
if (!g_pCompositor->m_pLastMonitor) // set the last monitor if it isnt set yet
g_pCompositor->m_pLastMonitor = this;
wlr_xcursor_manager_load(g_pCompositor->m_sWLRXCursorMgr, scale);
g_pEventManager->postEvent(SHyprIPCEvent{"monitoradded", szName});
}