mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-26 09:41:57 -07: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user