diff options
author | Alex Deucher <agd5f@yahoo.com> | 2004-10-17 22:45:57 +0000 |
---|---|---|
committer | Alex Deucher <agd5f@yahoo.com> | 2004-10-17 22:45:57 +0000 |
commit | c7ab340fecb94a89c25d6bc7f686b7c97cd3067f (patch) | |
tree | da35201f9dca5a7a01d469786ada97aae10a3658 | |
parent | ace6e1b7933cb415b8efc41dffa335938f9c89b5 (diff) |
- Fix DFP detection in r128 driver (bug 1386, Klaus Kusche)
- Fix EmulateWheelInertia defaults (bug 1115, Andrew Pimlott)
-rw-r--r-- | src/r128_driver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c index 6b75633..714df3d 100644 --- a/src/r128_driver.c +++ b/src/r128_driver.c @@ -1309,7 +1309,9 @@ static Bool R128GetDFPInfo(ScrnInfoPtr pScrn) for(i=0; i<4; i++) { - if(ddc->det_mon[i].type == 0) + if((ddc->det_mon[i].type == 0) && + (ddc->det_mon[i].section.d_timings.h_active > 0) && + (ddc->det_mon[i].section.d_timings.v_active > 0)) { info->PanelXRes = ddc->det_mon[i].section.d_timings.h_active; |