Lisp HUG Maillist Archive

input-model click speed

Hi,

I'm building a custom pane based around an output pane that will 
require multiple mouse clicks.  Using the obvious input-model 
(:button-1 :press) unfortunately doesn't work -- for some reason, the 
pane will only generate click events if you wait at least a second in 
between clicks.  I added a (:button-1 :second-press), and this captures 
the first two clicks, but then ignores the third and all subsequent 
clicks unless you again wait at least one second in between.  Is there 
a reason that output-panes don't actually signal on all mouse events? I 
would think that (:button-1 :press) should signal every time the button 
is pressed, regardless of speed.  Does anybody have a workaround for 
this? I'm using LWM.

Thanks!,
-Chris


Updated at: 2020-12-10 08:55 UTC