Hi all, I'm finally at a point where I'm happy to merge the ewmh branch to the trunk. There was a bug which was holding me back, and I think I've fixed it. It is kind of tricky and unreliable to reproduce, and it happened only on my ewmh version, even though my scenario suggests that it would happen on the trunk version as well.
[[ Scenario: 0. The user has an UnknownIcon in the .ctwmrc file. 1. A window opens with no specific icon, and gets assigned the UnknownIcon. More precisely, its Icon points to the shared Image of the UnknownIcon. xv is an example, *if* it manages to start iconified. There seems to be a race condition there somewhere and this doesn't always happen. My invocation of xv is "xv -root -rmode 4 -maxpect -random -wait 300 -wloop -flist wallpaper-list" where wallpaper-list is a list of file names of wallpaper images, which will change every 5 minutes. 2. The window's WM_HINTS change, and the icon bitmap and mask get set. (xv's icon briefly changes in one that indicates a busy-state.) 3. The modification would change the window's icon Image, which is the shared Image for the UnknownIcon. (this can happen because TwmWindow.forced is not set in this case) 4. Now other programs that need the UnknownIcon get the icon for xv instead. In some cases only the mask, not the pixmap. (why?) ]] Apart from that bug, I think I have added all EWMH features that I can easily test in my environment (on my laptop with Xubuntu and Kubuntu desktops). So it would good if some people with environments different from mine would give it a go, as a sanity check, before we consider merging the branch. -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for \X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
pgpqqBLM9oyuf.pgp
Description: PGP signature
