nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: Support for on-screen keyboard
From: Vidar Hokstad
Date: Sun, 16 May 1999 11:14:12 +0200 (MET DST)

On Sun, 16 May 1999, Alexander Peuchert wrote:

> On Sun, 16 May 1999, Vidar Hokstad wrote:
> 
> > You do a continous movement from one window to the other. But you will
> > still generate a mouse click event wherever you place your finger or
> > stylus on the touchpad. Thats just the way it works on every system I've
> > ever seen that use touch.
> 
> What about window_enter and window_leave events ? does the touchpad driver
> have to generate them or are they left out.

Enter and leave events aren't generated by the mouse drivers, whether it's
a real mouse or a touchpad - that is handled by Nano-X depending on
pointer movements. So when it reads the move event (or button event, if
using click to focus), whether it's from a mouse or touchpad (Nano-X won't
need to know the difference), _NanoX_ will change focus and send the
appropriate enter and leave events.

Regards,
Vidar





nanogui@linuxhacker.org