Alan W. Irwin wrote:
> On 2010-03-22 15:05-0400 Hazen Babcock wrote:
> 
>> Alan W. Irwin wrote:
>>> If I press the 'l' key for -dev xwin in -locate mode for example 1, here is
>>> the response I get:
>>>
>>> subwin = 0, wx = 2.936888,  wy = 14.595193, dx = 0.262060,  dy = 0.718261,
>>> c = 'l'
>> Do you only get output from the xwin driver for mouse press and key events?
> 
> Yes.
> 
>> Or are you also getting output when you move the cursor around?
> 
> No.  I think we want to suppress such output on systems (such as yours) that
> do give additional output when the cursor is moved around without pressing
> or releasing a mouse button or key.  N.B. On my system xev does report every
> mouse move, but it distinguishes that from key/mouse button presses and
> releases.  Is that the case on your system?  If so, then it seems to me
> copying the xev code that generates symbolic names for all keys/mouse
> buttons when they are released (and simply dropping everything else that is
> not a key or button release event) is the way to get a uniform response to
> key/button releases (but no other keyboard/mouse events) from X (and xcairo
> and qtwidget that eventually boil down to an X call) on all systems.

xev seems to be giving me the right output as well. It distinguishes 
motion from button events and key events. I remain puzzled as to why the 
xwin driver is behaving in this way for me.

-Hazen


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to