> It appears to be something in fltk 
> in this case.  While other systems seem to work ok with left 
> click, reporting on this system ma
>  y be slightly slower due to the USB mouse which also goes 
> through a KVM. 

I doubt the USB speed is an issue, KVW notwithstanding. The speed of
even a slow USB link is much higher than you can click.
Though if the handling of the USB stack in your system is poor, or your
X-server handles HID inputs badly, that might have a bearing.

> It's possible by the time the fltk app gets 
> the mouse down, it's already up; would that be a problem for 
> fltk?   

Fltk doesn't get the clicks - the X-server does, which it then forwards
to the apps in the appropriate message atoms...

Assuming the X-server emits the messages to the apps in the order they
occur, all should be well. Fltk doe not know if the mouse is actually up
or down *right now*, it only knows what state was last reported by the
server.


> where exactly does fltk handle detection of left 
> click and how is left click different than right click?  
> anyone else able to reproduce?

The X-server tells you which buttons are down in each event message.

And no, I can't reproduce this.
But there may be something specific to your hardware of software
environment, I guess...

What WM are you running? I wonder if that might affect event delivery in
some odd way?




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to