Re: [dwm] patch to hide sticky indicators, and add "nofocus" windows

From: yy <yiyu.jgl_AT_gmail.com>
Date: Tue, 25 Nov 2008 21:43:49 +0100

You could do something very similar just caling unmanage. The problem
is you can't call functions from the rules definition (though you
could use a keybinding to unmanage windows).

It could be interesting to modify applyrules and the Rule definition
in order to call functions, like buttons and keys:

typedef struct {
        const char *class;
        const char *instance;
        const char *title;
        void (*func)(const Arg *);
        const Arg arg;
} Rule;

Of course, you would also have to tweak manage in order to make it work.

I'm not sure it would be a very good idea, but it probably is not
difficult to try. As a side effect, somebody could control dwm
creating windows with well chosen names (and probably somebody would
write a program to do it), I would find such a hack very unelegant...

-- 
- yiyus || JGL .
Received on Tue Nov 25 2008 - 20:43:49 UTC

This archive was generated by hypermail 2.2.0 : Tue Nov 25 2008 - 20:48:04 UTC