Added creating / destroying outputs on a multi-backend + headless backend

See `hyprctl output`.
This commit is contained in:
vaxerski
2022-11-05 18:04:44 +00:00
parent a71f44baa5
commit 5a750b485a
9 changed files with 129 additions and 1 deletions

View File

@@ -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 : "");