Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!nosc!humu!uhccux!xacct From: xacct@uhccux.uhcc.hawaii.edu (X-Windows Account) Newsgroups: comp.windows.x Subject: twm 4.0 grabbing all keys Message-ID: <2593@uhccux.uhcc.hawaii.edu> Date: 8 Nov 88 14:23:26 GMT Organization: University of Hawaii Lines: 13 Running twm 4.0, the version that appeared in comp.sources.x in September, under R2, SunOs 3.5, I find I cannot type into a window. Keys are pressed -- nothing happens. I think the problem is with grabbing keys, since: (1) the twm event handler is receiving events for every keypress, not just for keys that have actions associated in the .twmrc file, and (2) when I disable the call to XGrabKey for window contexts in add_window.c, then twm works ok. Maybe it's a problem with the way I made libX11.a or the Sun server? I used gcc, v. 1.29 for both. What's going wrong? Greg, lee@uhccux.uhcc.hawaii.edu