I've been using KDE's x composite manager, kompmgr, for a while now and it's just absolutely beatiful. Compared to xcompmgr and transset it's much more dynamic and having windows become transparent when they lose focus or when they are moved is great. However I've come up with an improvement that I'd really like to see implemented:
I have kompmgr set up so that unfocused windows become transparent and I've noticed that when several windows ontop of each other are transparent it's a bit hard to see which ones are above or below the others. The windowfocus behaviour I would like is that if I click the titlebar of a window (that is below other transparent windows) that window will gain focus no matter what Z-index it's at. If an active window is transparent though, that window should not surrender it's focus if the titlebar of an underlaying window is clicked, the behaviour I'm talking about should only happen in the case of several transparent, unfocused windows. Or preferably, be configurable... If my description is a bit confusing, look at the screenshot and it should all be clear...
I've been browsing around KDE's source at http://lxr.kde.org/ for the better part of my day without getting much wiser as to where to start... Is this controlled via the xserver rather than through KDE?
Anybody with more knowledge in the area than me who's got any tips on where to get started or is interested in this functionality?
Are other people even interested in this functionality? Maybe someone has an argument why this is a lousy idea so that I can stop wasting my time learning how KDE works? :)