Skip to content
Commit 02ac4a0a authored by Simon Ser's avatar Simon Ser
Browse files

xf86drmMode: simplify drm_property_type_is



No need to have two branches depending on DRM_MODE_PROP_EXTENDED_TYPE.
We can just use drmModeGetPropertyType instead.

This does introduce a slight change: previously, drm_property_type_is()
could be called with non-type flags such as IMMUTABLE. However no user
seems to do this (checked KWin/Mutter/Sway/Weston/Xorg).

Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent bb709e60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment