mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 22:45:57 +01:00
ignore VR headsets (#1555)
* ignore VR headsets don't interact with screens that have the non_desktop property set, fixes #1553 * remove superfluous curly braces
This commit is contained in:
parent
f37866eb7e
commit
1992f27a26
1 changed files with 4 additions and 0 deletions
|
@ -1195,6 +1195,10 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
|
|||
return true;
|
||||
}
|
||||
|
||||
// don't touch VR headsets
|
||||
if (pMonitor->output->non_desktop)
|
||||
return true;
|
||||
|
||||
if (!pMonitor->m_bEnabled) {
|
||||
pMonitor->onConnect(true); // enable it.
|
||||
force = true;
|
||||
|
|
Loading…
Reference in a new issue