diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1002,8 +1002,6 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 1002 | c->tags = emallocz(TAGSZ); | 1002 | c->tags = emallocz(TAGSZ); |
| 1003 | c->win = w; | 1003 | c->win = w; |
| 1004 | 1004 | ||
| 1005 | applyrules(c); | ||
| 1006 | |||
| 1007 | c->x = wa->x + sx; | 1005 | c->x = wa->x + sx; |
| 1008 | c->y = wa->y + sy; | 1006 | c->y = wa->y + sy; |
| 1009 | c->w = wa->width; | 1007 | c->w = wa->width; |
| @@ -1038,6 +1036,8 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 1038 | for(t = clients; t && t->win != trans; t = t->next); | 1036 | for(t = clients; t && t->win != trans; t = t->next); |
| 1039 | if(t) | 1037 | if(t) |
| 1040 | memcpy(c->tags, t->tags, TAGSZ); | 1038 | memcpy(c->tags, t->tags, TAGSZ); |
| 1039 | else | ||
| 1040 | applyrules(c); | ||
| 1041 | if(!c->isfloating) | 1041 | if(!c->isfloating) |
| 1042 | c->isfloating = (rettrans == Success) || c->isfixed; | 1042 | c->isfloating = (rettrans == Success) || c->isfixed; |
| 1043 | attach(c); | 1043 | attach(c); |
