mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
576ff57db0
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 |
||
---|---|---|
.. | ||
atomic.c | ||
backend.c | ||
cvt.c | ||
drm.c | ||
legacy.c | ||
meson.build | ||
properties.c | ||
renderer.c | ||
util.c |