mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: drop enum wlr_drm_connector_status
We can just use libdrm's drmModeConnection enum instead.
This commit is contained in:
parent
08973d2430
commit
f244094682
2 changed files with 13 additions and 19 deletions
|
|
@ -90,12 +90,6 @@ struct wlr_drm_backend {
|
|||
struct wlr_drm_format_set mgpu_formats;
|
||||
};
|
||||
|
||||
enum wlr_drm_connector_status {
|
||||
// Connector is available but no output is plugged in
|
||||
WLR_DRM_CONN_DISCONNECTED,
|
||||
WLR_DRM_CONN_CONNECTED,
|
||||
};
|
||||
|
||||
struct wlr_drm_mode {
|
||||
struct wlr_output_mode wlr_mode;
|
||||
drmModeModeInfo drm_mode;
|
||||
|
|
@ -113,7 +107,7 @@ struct wlr_drm_connector {
|
|||
|
||||
struct wlr_drm_backend *backend;
|
||||
char name[24];
|
||||
enum wlr_drm_connector_status status;
|
||||
drmModeConnection status;
|
||||
bool desired_enabled;
|
||||
uint32_t id;
|
||||
uint64_t max_bpc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue