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.

James




Reply via email to