gtk+ and randr

Matthias Clasen mclasen at redhat.com
Mon Jul 21 16:11:46 PDT 2008


On Mon, 2008-07-21 at 09:54 -0400, Adam Jackson wrote:
> On Sun, 2008-07-20 at 16:40 -0400, Ben Gamari wrote:
> > Howdy all,
> > 
> > As many of you probably know, GTK+ has apparently been calling
> > XRRGetScreenResources() on startup for some time now. Having a laptop, I
> > occasionally find myself using VGA displays which, for the last few
> > months, flickered horribly when starting a gtk+ application due to EDID
> > probing (as I reported in bug #16224 [1]). Earlier this week, this issue
> > was worsened when I pulled down the latest xorg commits from git. On my
> > intel hardware, even the LVDS output now flickers when starting a gtk+
> > application.
> 
> XRRGetScreenResources is an expensive call.  Always.  If gtk is
> calling it on every app startup they're absolutely insane.

I'd personally think its rather poor taste to add new api only to call
people insane when they start using it. You added this extension, so
you'd better make it work...






More information about the xorg mailing list