Added creating / destroying outputs on a multi-backend + headless backend
See `hyprctl output`.
This commit is contained in:
parent
a71f44baa5
commit
5a750b485a
9 changed files with 129 additions and 1 deletions
|
|
@ -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 : "");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue