wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit ec78f60e8a867c60d62593ab3e1052206e0c4257
parent 9184de8ad59873ef66a6195578d85fc257af662c
Author: Sander van Dijk <sander@wmii.de>
Date:   Thu, 13 Apr 2006 00:03:29 +0000

ugly hack to make 'retag' actually work (it didn't) on startup, but let it not mess up a users layout


Diffstat:
cmd/wm/rule.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cmd/wm/rule.c b/cmd/wm/rule.c @@ -112,6 +112,8 @@ match(Client *c, const char *prop) else if(!strncmp(r->tags, "!", 2)) { if(view.size) { if(c->view.size) { + if(c->view.size == 1 && !strncmp(c->view.data[0]->name,"nil",4)) + continue; c->tags[0] = 0; unsigned int j; for(j = 0; j < c->view.size; j++) {