[vlc-devel] [vlc-commits] commit: skins2(Linux): A XSync is needed (Erwan Tulou)

Rémi Denis-Courmont remi at remlab.net
Mon Nov 8 17:42:23 CET 2010

Le lundi 8 novembre 2010 16:19:06 git at videolan.org, vous avez écrit :
> vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Mon Nov  8
> 12:19:45 2010 +0100| [0656ac9c68a5e6abb81ca132771d3fa3c1fc296f] |
> committer: Erwan Tulou
> skins2(Linux): A XSync is needed
> This partially fixes the position indicator getting blurry, because
> XGetImage didn't retrieve the latest change in pixmap (Previous XCopyArea
> calls may still be pending)
> Note that XSync is needed but not sufficient. Sporadic blurriness can still
> happen, because there seems to be no way to know for sure when the pixmap
> content is really updated.

As far as I know, XGetImage is meant for screen capture, not for UI 
implementation. So no wonder it is not working quite right.

Rémi Denis-Courmont

More information about the vlc-devel mailing list