diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-09 15:11:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-18 10:48:44 +0100 |
commit | 019ffe8a5ba7f97181c56ad2b9a772c717391feb (patch) | |
tree | 0323c6eabf8344e1ade0ed6abf47f15ea62212c0 /util/log.c | |
parent | c89b131f29343c6c91f24cdb259c5dd6663dd80e (diff) |
backend/drm: introduce wlr_drm_connector.name
The DRM backend is a little special when it comes to wlr_outputs: the
wlr_drm_connectors are long-lived and are created even when no screen is
connected.
A wlr_drm_connector only advertises a wlr_output to the compositor when
a screen is connected. As such, most of wlr_output's state is invalid
when the connector is disconnected.
We want to stop using wlr_output state on disconnected connectors.
Introduce wlr_drm_connector.name which is always valid regardless of the
connector status to avoid reading wlr_output.name when disconnected.
Diffstat (limited to 'util/log.c')
0 files changed, 0 insertions, 0 deletions