Re: [dev] [dwm] adding WM_WINDOW_ROLE rule

From: Uriel <uriel_AT_berlinblue.org>
Date: Wed, 28 Jul 2010 11:55:14 +0200

On Tue, Jul 27, 2010 at 1:29 AM, Kris Maglione <maglione.k_AT_gmail.com> wrote:
> 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.

I think somehow X managed to surpass its own hideousness without
resorting to Java thanks to things like the use of XML by fontconfig,
and the auto*hell-ization of the whole X.org distribution.

uriel

> 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 Wed Jul 28 2010 - 11:55:14 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 28 2010 - 12:00:04 CEST