Re: [dev] [dwm] adding WM_WINDOW_ROLE rule

From: Rob <robpilling_AT_gmail.com>
Date: Tue, 27 Jul 2010 01:02:28 +0100

On 27 July 2010 00:35, Kris Maglione <maglione.k_AT_gmail.com> wrote:
> On Mon, Jul 26, 2010 at 11:48:02PM +0100, Rob wrote:
>>
>> On 26 July 2010 22:32, David DEMELIER <demelier.david_AT_gmail.com> wrote:
>>>
>>> There is something that make me sad with dwm, there is a lack of role
>>> rules for clients. I explain : clients have instance and name using
>>> WM_CLASS, but there is also WM_WINDOW_ROLE which is really important
>>> and useful.
>>
>> dwm uses XGetClassHint() to retrieve the class and instance, and you
>> can't get WM_WINDOW_ROLE like this, so it's not as trivial to add on.
>
> Are you serious?

I just took a crack at patching dwm because I was bored.
s/so it's not as trivial to add on/because X is quite shit/

dwm isn't meant to be wmii, so adding in wrappers would only increase
the code size, when it's much more sane to simply test the window
title, or if you can be bothered, mod+shift+tag.

Rob
Received on Tue Jul 27 2010 - 02:02:28 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 27 2010 - 02:12:02 CEST