nanogui: Support for on-screen keyboard


Previous by date: 16 May 1999 20:38:43 -0000 Re: Support for on-screen keyboard, Alex Holden
Next by date: 16 May 1999 20:38:43 -0000 Re: What needs doing on Nano-X: harsh comments, Greg Haerr
Previous in thread: 16 May 1999 20:38:43 -0000 Re: Support for on-screen keyboard, Alex Holden
Next in thread: 16 May 1999 20:38:43 -0000 Re: Support for on-screen keyboard, Greg Haerr

Subject: Re: Support for on-screen keyboard
From: Vidar Hokstad ####@####.####
Date: 16 May 1999 20:38:43 -0000
Message-Id: <Pine.LNX.4.10.9905162226150.2715-100000@a.ncg.net>

On Sat, 15 May 1999, Alex Holden wrote:

> On Sat, 15 May 1999, Alexander Peuchert wrote:
> > > > How about excluding some windows from getting focus ?
> > > If it doesn't have focus, it won't get the mouse events it needs to read
> > > what you are scribbling onto it.
> > I meant keyboard focus ...
> 
> I think it's all or nothing really. I suppose you could try splitting
> things up like that, but it'd be more complicated than simply providing a
> client call to inject keypresses into a specific GC, and another to find
> out what the last one in focus was.

I've just written a GrSelectGlobalEvent() (anyone have a better name
suggestion? It does the same as GsSelectEvent(), but for selects the event
for all windows, whether they belong to the current client or not), and
ran into some problems because of this.

It turns out that there _IS_ a difference between keyboard and mouse focus
in NanoX. Actually, "Focus" in Nano-X is given to the window, or
the closest ancestor of the window the pointer enters that accept keypress
events. So focus-in events are only ever sent to windows that accept
keypresses.

Regards,
Vidar



Previous by date: 16 May 1999 20:38:43 -0000 Re: Support for on-screen keyboard, Alex Holden
Next by date: 16 May 1999 20:38:43 -0000 Re: What needs doing on Nano-X: harsh comments, Greg Haerr
Previous in thread: 16 May 1999 20:38:43 -0000 Re: Support for on-screen keyboard, Alex Holden
Next in thread: 16 May 1999 20:38:43 -0000 Re: Support for on-screen keyboard, Greg Haerr


Powered by ezmlm-browse 0.20.