d14431c
From ef49675e8d7dc829032bf6e586d55f9985d06844 Mon Sep 17 00:00:00 2001
d14431c
From: Fedora X Ninjas <x@fedoraproject.org>
d14431c
Date: Thu, 11 Sep 2008 09:25:18 -0400
d14431c
Subject: [PATCH] Make room for a 1280 wide projector in the default screen limits
d14431c
d14431c
---
d14431c
 hw/xfree86/modes/xf86Crtc.c |    2 ++
d14431c
 1 files changed, 2 insertions(+), 0 deletions(-)
d14431c
d14431c
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
d14431c
index 4de7e05..ee7e412 100644
d14431c
--- a/hw/xfree86/modes/xf86Crtc.c
d14431c
+++ b/hw/xfree86/modes/xf86Crtc.c
d14431c
@@ -987,6 +987,8 @@ xf86DefaultScreenLimits (ScrnInfoPtr scrn, int *widthp, int *heightp,
d14431c
 	if (crtc_height > height)
d14431c
 	    height = crtc_height;
d14431c
     }
d14431c
+    /* Make room for a projector */
d14431c
+    width += 1280;
d14431c
     if (config->maxWidth && width > config->maxWidth) width = config->maxWidth;
d14431c
     if (config->maxHeight && height > config->maxHeight) height = config->maxHeight;
d14431c
     if (config->minWidth && width < config->minWidth) width = config->minWidth;
d14431c
-- 
d14431c
1.6.0.1
d14431c