[Xquartz-dev] Possible white rectangle fix

George Peter Staplin georgeps at xmission.com
Wed Dec 10 08:25:51 PST 2008


Quoted Richard Tobin <richard at inf.ed.ac.uk>:

> In RootlessRepositionWindow() in rootlessWindow.c, change the
> call to RootlessReorderWindow() so that it only happens if the
> window is realized:
>
>     if(pWin->realized)
> 	RootlessReorderWindow(pWin);
>
> I don't know if this is the right way to do it, but it eliminates the
> white rectangle problem for me.
>
> -- Richard

That's very interesting :)

I wonder if it should be:
   if(pWin->viewable)
      RootlessReorderWindow(pWin);

Does that work as well?

George
-- 
http://people.freedesktop.org/~gstaplin/


More information about the Xquartz-dev mailing list