🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sun.open-windows
Article #3

KeyPress event

#3
From: Eric arnold
Date: Tue, 04 Dec 1990 00:51
24 lines
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
Technical Details
Message-ID: <4085@male.EBay.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!male!eric@lifen--.sun.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!male!eric@lifen--.sun.com
From: eric@lifen--.sun.com (Eric arnold)
Newsgroups: sun.open-windows,comp.windows.open-look
Subject: KeyPress event
Message-ID: <4085@male.EBay.Sun.COM>
Date: 4 Dec 90 00:51:43 GMT
Sender: news@male.EBay.Sun.COM
Reply-To: eric@lifen--.sun.com (Eric arnold)
Lines: 24