refocus on monitor attach

This commit is contained in:
Vaxry 2023-02-14 13:55:19 +00:00
parent ab6a092dbc
commit 3fbef25ffc

View file

@ -1506,6 +1506,8 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
(int)pMonitor->vecPixelSize.y, pMonitor->refreshRate, pMonitor->scale, (int)pMonitor->transform, (int)pMonitor->vecPosition.x, (int)pMonitor->vecPosition.y,
(int)pMonitor->enabled10bit);
g_pInputManager->refocus();
return true;
}