diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-01-31 12:26:20 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2011-01-31 12:27:11 +0100 |
commit | 66eb81b62e5ae8e1d7bd44ed8a179e5ec1ca69af (patch) | |
tree | c73cb7dd24af91906739f302c658a8f4ea1658a6 | |
parent | 3dc28c86eb57cac819e4ed650acfe1f7df6ef565 (diff) |
UMS: Slightly improve xserver version check.
This will ensure the xserver definitions necessary to compile the new code are
there. xf86CrtcSetMode will be unresolved at runtime with a few xserver
commits, but I'm afraid this is the best we can do.
See https://bugs.freedesktop.org/show_bug.cgi?id=33719 .
-rw-r--r-- | src/radeon_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 83aa7c32..877d711b 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -1618,7 +1618,7 @@ radeon_set_mode_for_property(xf86OutputPtr output) xf86CrtcPtr crtc = output->crtc; if (crtc->enabled) { -#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,1,0) +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,901,0) xf86CrtcSetRec crtc_set_rec; crtc_set_rec.flags = (XF86CrtcSetMode | |