[Webkit-unassigned] [Bug 140352] REGRESSION(r177075): Flickering when the WebView is realized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 13 09:47:32 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140352

--- Comment #9 from Martin Robinson <mrobinson at webkit.org> ---
(In reply to comment #3)

> > Source/WebKit2/UIProcess/gtk/RedirectedXCompositeWindow.cpp:152
> > +    // CWBorderPixel must be present when the depth doesn't match the parent's one.
> > +    // See http://cgit.freedesktop.org/xorg/xserver/tree/dix/window.c?id=xorg-server-1.16.0#n703.
> > +    windowAttributes.border_pixel = 0;
> 
> Why does the depth not match the parent's depth?
> 
> > Source/WebKit2/UIProcess/gtk/RedirectedXCompositeWindow.cpp:155
> > -        parent ? parent : RootWindowOfScreen(screen),
> > +        RootWindowOfScreen(screen),
> 
> Is there really no way to do this without properly parenting the window?

Okay. I see how it's nice for the visual, but the depth is a property of the visual. Getting the depth from the visual in RedirectedXCompositeWindow will prevent silly mistakes like passing a depth that doesn't match the visual. I would really prefer using XGetVisualInfo in RedirectedXCompositeWindow or to simply use GDK there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150113/ab4d79be/attachment-0002.html>


More information about the webkit-unassigned mailing list