On Thu, 25 Feb 2010 15:16:47 -0500, Adam Jackson <[email protected]> wrote:

> This bit is really lame.  compat_output never changes for the life of
> the server;

Yes, it can. SetCompatOutput is called every time a client asks for the
current RandR mode list.

> if you've turned off what the server picked for compat at
> startup, vidmode gamma won't change anything.  Picking the first crtc
> with a connected output in this case is slightly more DWIMmy, I guess.

Yeah, but we still need to deal with the case of no outputs having a
crtc, which can happen if you close the lid on a laptop.

> But on the other hand: stop using vidmode already, dammit.

Agreed. We do have alternate APIs now. Thanks, xscreensaver.

> Reviewed-by: Adam Jackson <[email protected]>

Thanks!

I'll push this to master; it'd be great to hear whether this fixes other
people's issues...

-- 
[email protected]

Attachment: pgpoFZNn9Bltg.pgp
Description: PGP signature

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to