diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-07-19 13:26:36 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-07-19 13:31:00 -0700 |
commit | 73a93c5a6b68f7ba21f9e75f50b1032603a3b39e (patch) | |
tree | 8f10f3192e4dc8825d6b409f1ccc072bc8801ee1 /hw | |
parent | 9fc36a391c11170cde1a28f548a2cae5f6f20d5b (diff) |
Query modes on disabled (but not ignored) outputs.
Code that disabled mode detection on disabled outputs would confuse
applications by listing said outputs as connected but without any modes.
This makes the disabled state in the config file affect only the initial
configuration and not subsequent modifications by RandR.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/modes/xf86Crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index ecdf62048..1899d7fd3 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -1254,7 +1254,7 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY) */ output->status = (*output->funcs->detect)(output); - if (!xf86OutputEnabled (output)) + if (output->status == XF86OutputStatusDisconnected) { xf86OutputSetEDID (output, NULL); continue; |