> >>I've created my >>>own VNCclient with a delay timer in the main processing loop. The problem >>>is that the VNCServer seems to spread out my mouse events over time even >>>though they have already occurred. > >>Are you *absolutely* sure that it's the server doing this, and not >>your client? Typically, a mouse event reaches the client on each >>pass through the main processing loop, at least for X11 and MacOS >>"classic" event models. > >No, I'm not positive that it's the server. What I observer is that when I >run two viewers, one a "classic" viewer and one my own custom viewer. If I >move the mouse across the screen via the classic viewer, it moves as >expected. But what I observer on my custom viewer is that the mouse events >are spread out and take a long time to complete. Now in my custom viewer I >have a delay in the main loop that requests updates from the server. My >question is, when I make a SendIncrementalFramebufferUpdateRequest shouldn't >I get "all" of the queued changes? I think that I'm only getting part of >them, otherwise I would see the mouse jump across the screen. Its obvious >that I'm getting frame updates since the mouse is moving and that my timer >is slowing things down, but I thought that when I asked the server for >changes that it would give them all to me.
Yes, the server *is* sending all the updates to you. The problem is that *you* are not sending all the events to the server as fast as you should. My suggestion is that you only do the 'delay' thing after processing an update, not on every system event. That way the server gets all the events it needs. -- -------------------------------------------------------------- from: Jonathan "Chromatix" Morton mail: [EMAIL PROTECTED] (not for attachments) website: http://www.chromatix.uklinux.net/ geekcode: GCS$/E dpu(!) s:- a21 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*) tagline: The key to knowledge is not to rely on people to teach you it. --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------