mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
When the session is inactive, we can't change the KMS state. Ignore hotplug events so that compositors don't try to perform a modeset when a connector is plugged in. We already re-scan connectors when the session becomes active. To test, run a wlroots compositor on VT 1, switch to VT 2, unplug a connector, re-plug it, switch back to VT 1. Without this patch the screen is black on VT 1. References: https://github.com/swaywm/wlroots/issues/2370 |
||
|---|---|---|
| .. | ||
| drm | ||
| headless | ||
| libinput | ||
| multi | ||
| noop | ||
| session | ||
| wayland | ||
| x11 | ||
| backend.c | ||
| meson.build | ||