Michael, Please refer to the RFB protocol document for details of the format of the cursor pseudo-encoding. As I stated previously, the cursor encoding affects the shape and hotspot of the cursor and DOES NOT affect its position.
It sounds as though whatever windowing/widget system you're using is very broken as regards user-friendly behaviour. When releasing software under the GPL, it's generally sufficient to make the source code available to anyone that you provide a binary to. The easiest way to achieve this is to put the source code in a zipfile and provide users with a link to it and to the GPL license. Regards, Wez @ RealVNC Ltd. > -----Original Message----- > From: Michael Russe [mailto:[EMAIL PROTECTED] > Sent: 15 December 2004 15:00 > To: James Weatherall > Subject: Re: vncviewer 4.0 on XP, problems with cursor > positioning from server side > > Wez, > the vnc-4.0 viewer is saying it does support 0xffffff11 > and I am sending it as part of an answer to a framebuffer > update request ... so I must be sending bad cursor data! I > only use raw encoding for the rectangles ignoring what the > client wants, since it is supposed to always accept raw > encodings ... does 0xffffff11 implicitly mean I have to send > this data in the viewers preferred format? Is there any other > way to make the cursor go to a certain position form the > server side? The problem is, that my application pops up > dialog boxes in response to user actions and will dismiss > them if the cursor is not on them, thinking the user is not > interested .... > I wrote my end of the server from scratch based on the > protocol documentation from realvnc and am more than happy to > share all of it. What is the proper way to do this? Do I send > it to you? > Michael > > ----- Original Message ----- > From: James Weatherall <mailto:[EMAIL PROTECTED]> > To: 'Michael Russe' > <mailto:[EMAIL PROTECTED]> ; [EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 05:57 > Subject: RE: vncviewer 4.0 on XP, problems with cursor > positioning from server side > > Michael, > > Pseudo-encoding 0xffffff11 does not affect the cursor > position, only the > cursor "shape" and hotspot. Your custom server is > either sending the > pseudo-encoding to a viewer that hasn't said that it > can support it via > SetEncodings (e.g. VNC Viewer 3.3.7), or is sending > incorrectly-formatted > cursor data to a viewer that *does* support the cursor > shape encoding (e.g. > VNC Viewer 4). Also be aware that the cursor can only > be sent as part of a > framebuffer update, since its format must match the > format currently > requested by the VNC Viewer, which can change between updates. > > Please remember that any code based on the standard VNC > codebase must be > distributed under the provisions of the GPL. :) > > Regards, > > Wez @ RealVNC Ltd. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Michael Russe > > Sent: 15 December 2004 13:01 > > To: [EMAIL PROTECTED] > > Subject: vncviewer 4.0 on XP, problems with cursor > > positioning from server side > > > > Hi, I wrote my own rfb server for an application which does > > not use X nor > > Windows. I am testing against the latest download from > > realvnc.com. Everything > > works great until I need to set the cursor position on the > > client side from my > > server. I am doing this by sending a 5x5 rectangle with a 5 > > byte mask with > > encoding set to 0xffffff11 as part of an answer to a > > framebuffer update > > request. The viewer will paint some strange patterns > around the cursor > > position and crash so bad that MS wants to know about it. > > Can anybody give me a hint what might be going on and > what to change ? > > Thanks, Michael > > _______________________________________________ > > VNC-List mailing list > > [EMAIL PROTECTED] > > To remove yourself from the list visit: > > http://www.realvnc.com/mailman/listinfo/vnc-list > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
