[wmii] tagrule to send clients in managed layer patch

From: Daniel Waeber <_wabu_AT_web.de>
Date: Sun, 21 Jan 2007 18:04:45 +0100

maxauthorit had a problem with a broken application that requests a
fixed size, but still works in managed mode. So I added a new tagrule
target called @ to set the application sizeable for wmii.

You can edit your wmiirc to add the folloing rule:
wmiir wirte /def/rules <
...
/some:broken:app/ -> @
...
EOF

Regards
        wabu

diff -r 4e801fa8d387 client.c
--- a/client.c Sun Jan 21 12:55:42 2007 +0100
+++ b/client.c Sun Jan 21 17:25:21 2007 +0100
@@ -715,6 +715,8 @@ apply_tags(Client *c, const char *tags)
         for(i=0, j=0; i < n; i++) {
                 if(!strncmp(toks[i], "~", 2))
                         c->floating = True;
+ else if(!strncmp(toks[i], "@", 2))
+ c->fixedsize = False;
                 else if(!strncmp(toks[i], "!", 2))
                         toks[j++] = view ? screen->sel->name : "NULL";
                 else if(strncmp(toks[i], "sel", 4)
Received on Sun Jan 21 2007 - 18:06:00 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:19:33 UTC