mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 11:25:58 +01:00
refocus on monitor attach
This commit is contained in:
parent
ab6a092dbc
commit
3fbef25ffc
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue