Just to have a more complete picture of what is happening, below I have
copied the output of xev running through VncViewer 1.2 Java Applet for the
following sequence of events: press mouse button 1, press mouse button 2,
release mouse button 2 and then release mouse button 1. As you may see, the
order of the events captured by xev are not the same of what actually
happened.
Best regards,
Rafael GuimarĂ£es
ButtonPress event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x4800002, time 1886623433, (37,33), root:(1781,872),
state 0x0, button 1, same_screen YES
EnterNotify event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x0, time 1886623433, (37,33), root:(1781,872),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 256
KeymapNotify event, serial 26, synthetic NO, window 0x0,
keys: 59 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonRelease event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x4800002, time 1886625270, (37,33), root:(1781,872),
state 0x100, button 1, same_screen YES
LeaveNotify event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x0, time 1886625270, (37,33), root:(1781,872),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
ButtonPress event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x4800002, time 1886625270, (37,33), root:(1781,872),
state 0x0, button 2, same_screen YES
EnterNotify event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x0, time 1886625270, (37,33), root:(1781,872),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 512
KeymapNotify event, serial 26, synthetic NO, window 0x0,
keys: 59 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonRelease event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x4800002, time 1886627148, (37,33), root:(1781,872),
state 0x200, button 2, same_screen YES
LeaveNotify event, serial 26, synthetic NO, window 0x4800001,
root 0x3b, subw 0x0, time 1886627148, (37,33), root:(1781,872),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
2013/9/26 Rafael Guimaraes <rgu...@gmail.com>
> Hi DRC,
>
> I have just detected a strange behavior when using TurboVNC 1.2 client as
> an applet. When I hold two mouse buttons simultaneously it doesn't work as
> expected...
> By using xev, I have checked that if I press and hold button 1, it
> generates the correct ButtonPress event then, if I keep button 1 pressed
> and press button 2, it generates a ButtonRelease for button 1 and a
> ButtonPress for button 2. I have done the same on TurboVNC 1.1 client (the
> applet, as well) and it behaves correctly (no ButtonRelease between the two
> ButtonPress events). The same happens if I press and hold button 2 and then
> button 1.
>
> Cheers,
>
> Rafael GuimarĂ£es
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users