aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm-properties.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-09 08:07:12 -0400
committerGitHub <noreply@github.com>2017-08-09 08:07:12 -0400
commitef1f947d49ec37be707739ef12ef56c519d9dfb0 (patch)
tree540544f1afc99d2447d822f1de211c424e45527f /backend/drm/drm-properties.c
parent913829e381ff59a120770449ccebcaaeb8a487c1 (diff)
parentaf67966d9261178bebc7a3019881fc1576d311e3 (diff)
Merge pull request #49 from ascent12/drm-atomic
Atomic modesetting
Diffstat (limited to 'backend/drm/drm-properties.c')
-rw-r--r--backend/drm/drm-properties.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/drm/drm-properties.c b/backend/drm/drm-properties.c
index 1b6e745f..ef24476f 100644
--- a/backend/drm/drm-properties.c
+++ b/backend/drm/drm-properties.c
@@ -27,6 +27,8 @@ static const struct prop_info connector_info[] = {
static const struct prop_info crtc_info[] = {
#define INDEX(name) (offsetof(union wlr_drm_crtc_props, name) / sizeof(uint32_t))
+ { "ACTIVE", INDEX(active) },
+ { "MODE_ID", INDEX(mode_id) },
{ "rotation", INDEX(rotation) },
{ "scaling mode", INDEX(scaling_mode) },
#undef INDEX