Hi, today I updated my Fedora system, and suddenly I can't use xterm - when I run xterm on my ctwm (3.8.1) I get
$ xterm X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 20 (X_GetProperty) Resource id in failed request: 0x80000b Serial number of failed request: 131 Current serial number in output stream: 131 I debugged the latest xterm (285), and found the problem: Xterm has a function (getWindowManagerName() in charproc.c) which attempts to find the window manager's name if possible (for some icon-related tweaks). It does this looking at the _NET_SUPPORTING_WM_CHECK property on the root window, and finding there a window id (here 0x80000b), and then *assuming* that this window exists, and looking into its properties. The problem is that it appears that ctwm sets _NET_SUPPORTING_WM_CHECK but then doesn't keep this window 0x80000b running. Even stranger, it appears that immediately after running ctwm, that window does exist (and xterm works), but a couple of minutes later, that window disappears, and xterm stops working. Anybody ever see this bug? Anybody know how to solve it? (I easily patched xterm to avoid this property lookup, but I wondow if it shouldn't also be solved on the ctwm end). Thanks, Nadav. -- Nadav Har'El | Thursday, Oct 25 2012, 9 Heshvan 5773 [email protected] |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |Welcome to the Church of the Holy http://nadav.harel.org.il |Cabbage. Lettuce pray...
