Re: [AD] More X Mode Setting

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On January 17, 2011, Peter Wang wrote:
> On 2011-01-17, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > On January 17, 2011, Peter Wang wrote:
> > > I've had a look at the NVCtrl library (it is open source, MIT-style).
> > > It seems we won't need to duplicate *too* much code to check if
> > > TwinView is used.  Alternatively we could just run "nvidia-settings -q
> > > TwinView". I should be able to work on that later today.
> > 
> > Of course this assumes that the fglrx driver's BigDesktop crap doesn't do
> > similar things (I think it might). I haven't tested it at all though. So
> > just using the NV-CONTROL extension isn't really going to help with
> > that.
> > 
> > The reason I went with comparing xinerama's screen count against xrandr's
> > is because it was a pretty generic way of doing it. It will always catch
> > the broken platforms.
> 
> Yeah, you're probably right that it's not worth it.  Never mind.
> 
> Will you add the al_grab_mouse function or shall I?  I can write the
> configurable key binding part.

I can if you like. Though I won't probably do the windows or OSX bits, as I 
don't really know how :-x

Was also thinking of adding some config vars to skip xrandr, xinerama or xfvm. 
Could be useful. But that can probably wait till 5.0.1 or something later.

> Peter
> 
> ---------------------------------------------------------------------------
> --- Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/