Thread View: sun.open-windows
1 messages
1 total messages
Started by Eric arnold
Tue, 04 Dec 1990 00:51
KeyPress event
Author: Eric arnold
Date: Tue, 04 Dec 1990 00:51
Date: Tue, 04 Dec 1990 00:51
24 lines
1336 bytes
1336 bytes
I've found an X application (xtrek) which works OK under the standard X11
server, but doesn't seem to get keyboard events when running under Openwindows.
I tried compiling it with the X11 libraries as found on "newstop", and
with the OW X libraries, but there was no improvement.
Instead of taking the keystrokes, it beeps, as if you had pressed a key
in the Openwindows root window, so I'm guessing it is an event or focus
problem. (Also, I got the same beep with the application stopped in the
debugger; also, keypresses were never seen in its even handler, though
button events were.)
The application does something like:
XSelectInput(p->display, p->w,
KeyPressMask|ButtonPressMask|ButtonReleaseMask|ExposureMask);
Are there any known bugs, or other requisite calls for OW, or what?
(BTW, is this related to the Openwindows.FocusLenience resource?
It didn't help... )
Thanks,
-Eric
eric@lifen--.sun.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads