On Thu, Apr 30, 2009 at 06:52:10PM +0200, Peter ?strand wrote: > On Thu, 30 Apr 2009, Daniel P. Berrange wrote: > >> It is also not, in general, possible to mandate that key repeat >> takes place on the client. Where VNC the server is attached to >> a X server / other desktop service, it might be possible to disable >> server side repeat, but in the case of a VNC server attached to >> a virtual machine this is impossible. The VNC server has no control >> over how the X server inside the guest deals with key presses. > > In this case, wouldn't it be possible for the VNC server to simulate a > KeyRelease after the KeyPress?
How would the VNC server know how long to wait before simulating the KeyRelease to the guest operating system ? The server does not know whether the client is about to send another KeyRelease of its own, or whether it is going to send an second KeyPress. Daniel -- |: http://berrange.com/ -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://freshmeat.net/~danielpb/ -o- http://gtk-vnc.sourceforge.net :| ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ tigervnc-rfbproto mailing list tigervnc-rfbproto@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto