On Mon, Jul 26, 2010 at 11:09:22PM +0100, Anselm R Garbe wrote:
I think the right thing to do would be to extend Rule and applyrules()
with support for WM_WINDOW_ROLE. However I doubt that many client make
actually use of WM_WINDOW_ROLE in a consistent way, which is why I
believe there is no great benefit in doing so -- or in other words,
yet another proof how hideous X has become ;)

Has become? It was so from the start, and I'm really not certain it's possible for it to have become worse. There are certain depts of depravity in software that are impossible to surpass without resorting to Java. At any rate, WM_WINDOW_ROLE isn't meant to be used consistently, it's meant for session managers to allow clients to restore their individual windows. Personally, though, I'd just allow matching rules against arbitrary properties.

--
Kris Maglione

I speak to everyone in the same way, whether he is the garbage man or
the president of the university.
        --Albert Einstein


Reply via email to