Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Wed, 26 May 1999 09:12:34 +0000

Re: Debugging, GII_INPUT and OpenAmulet-on-LibGWT

Rodolphe Ortalo wrote:
> 
> Hello,
> 
> for debugging the event management code of OpenAmulet-on-LibGWT,
> I have some problems.
> I need to set: GII_INPUT='(stdin):(x)' to obtain some inputs
> concerning keys, mouse mouvements, etc for the GWT root
> window GII input.
> However, doing so, I lose control over the over windows. It
> prevents me from using the debugger of course. And it is
> very inconvenient when the application crashes (something
> very frequent with the current state of Amulet-GGI... of
> course ;-): killing the application from a VT usually is
> fatal to the X11 server...
> 
> Is there a way to obtain GII input while not disturbing the
> other windows of the X11 server ?

Do a cvs update and recompile LibGWT. ;-)

> Did I make a BIG mistake in the GII_INPUT env. variable configuration ?

No, the mistake was in gwtCreateRootWindow() which looked really
weird to me. ;)
I'm not sure exactly what you were trying to achieve with that code,
or if you just got the idea of LibGII/LibGGI wrong? Please have a look
at my new gwtCreateRootWindow() and the updated demos, and tell me
if that does what you wanted.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]