XEmbed Systray Support

James Liggett jrliggett at cox.net
Fri Sep 23 19:15:15 CDT 2005

On Wed, 2005-09-21 at 12:07 +0200, Alexandre Julliard wrote:
>  Also what's
> the reason for having an XSync here?
The XSync call is in the example on freedeskotop.org for showing how to
send client messages
(http://standards.freedesktop.org/systemtray-spec/systemtray-spec-0.2.html#messages) uses an XSync call after the message is sent. If I had to guess, I would say this was to make sure that:
1. The sent message gets processed properly, and
2. That sending the message doesn't interfere with any other message
processing that would be involved with reparenting the window as
required by the freedesktop systray protocol. 

By using XSync, Rob was following the example pretty much to the letter,
which was probably a really good idea. Hope this answers your question.


More information about the wine-devel mailing list