NEWT X11 Input Events on Solaris/CDE

Hi,

I can’t get input events on my undecorated fullscreen X11 (GL) Window.

Guessing that my window manager is in the way.

Do undecorated windows have problems with input events?

Looking into jogl/src/newt/native/X11Window.c
I see some WM_HINTS / XSetWindowAttributes code running from Window.setSize

Wondering if anyone knows more about this than I do (which is nil).

Thanks,
John

Do you reproduce this bug with GLCanvas?

no, it’s a problem between me and newt

er… xlib

tried setting XWMHints following ICCM in CreateWindow and setSize0 with no joy yet

i get nothing on XEventsQueued

i have a native executable demo @ http://fv3tk.googlecode.com/svn/web/fv3tk-gears-loader-0.0.1.jar
but it fails on MacOS 10.4, and on
Solaris with CDE i need to kill it manually.
It should exit on ESC or Alt-F4.

Experience reports with ESC and Alt-F4 versus manual halt most welcome…

http://code.google.com/p/fv3tk/issues

cheers,
john

I fixed my own problem (in fv3tk) by moving the Display code into the animator thread.

The Display initIDs (clinit) performs the XInitThreads, so the first access to X11Display needs to be in the animator thread.

Cheers,
John

What do you call “the animator thread”? Do you override the class Animator?

See http://code.google.com/p/fv3tk/source/browse/trunk/src/fv3tk/Animator.java