mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 13:41:59 -07:00
Added creating / destroying outputs on a multi-backend + headless backend
See `hyprctl output`.
This commit is contained in:
@@ -8,6 +8,9 @@ void CMonitor::onConnect(bool noRule) {
|
||||
|
||||
szName = output->name;
|
||||
|
||||
if (!wlr_backend_is_drm(output->backend))
|
||||
createdByUser = true; // should be true. WL, X11 and Headless backends should be addable / removable
|
||||
|
||||
// get monitor rule that matches
|
||||
SMonitorRule monitorRule = g_pConfigManager->getMonitorRuleFor(output->name, output->description ? output->description : "");
|
||||
|
||||
|
Reference in New Issue
Block a user