diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-07-23 11:02:32 +0200 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2018-07-23 11:02:32 +0200 |
commit | ffdbd46b0abcf8cbe73eb8930ddcd7fd2485d9b5 (patch) | |
tree | 8fb706bedf4334bf95058268c6f1bad1f7c66bae /src/drmmode_display.c | |
parent | 64bd009d17986c71726724859f100ad40a6e3096 (diff) |
Hardcode "non-desktop" RandR property name
It's a bit silly to require current randrproto just for this definition,
which can't really change anyway.
Suggested-by: Qiang Yu <qiang.yu@amd.com>
(Ported from amdgpu commit ae8e02c6fc4ef5d5340b8cd4739e66b19b9e3386)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 000c7fc6..ff098975 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -2012,7 +2012,7 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_r #if XF86_CRTC_VERSION >= 8 i = koutput_get_prop_idx(pRADEONEnt->fd, koutput, DRM_MODE_PROP_RANGE, - RR_PROPERTY_NON_DESKTOP); + "non-desktop"); if (i >= 0) nonDesktop = koutput->prop_values[i] != 0; #endif |