mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-26 01:40:35 -05:00
backend/drm: store drm prop lists as structs
This makes modifying the property lists slightly easier.
This commit is contained in:
parent
47c578945c
commit
5201836868
5 changed files with 57 additions and 67 deletions
|
|
@ -139,7 +139,7 @@ static bool init_plane(struct wlr_drm_backend *drm,
|
|||
struct wlr_drm_plane *p, const drmModePlane *drm_plane) {
|
||||
uint32_t id = drm_plane->plane_id;
|
||||
|
||||
union wlr_drm_plane_props props = {0};
|
||||
struct wlr_drm_plane_props props = {0};
|
||||
if (!get_drm_plane_props(drm->fd, id, &props)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue