Re: [dev] [dwm] adding WM_WINDOW_ROLE rule

From: Kris Maglione <>
Date: Mon, 26 Jul 2010 19:29:54 -0400

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
Received on Tue Jul 27 2010 - 01:29:54 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 27 2010 - 01:36:01 CEST