summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/client.c b/client.c
index 8b98c19..eb23452 100644
--- a/client.c
+++ b/client.c
@@ -214,6 +214,7 @@ killclient(Arg *arg)
214void 214void
215manage(Window w, XWindowAttributes *wa) 215manage(Window w, XWindowAttributes *wa)
216{ 216{
217 unsigned int i;
217 Client *c, *tc; 218 Client *c, *tc;
218 Window trans; 219 Window trans;
219 XSetWindowAttributes twa; 220 XSetWindowAttributes twa;
@@ -261,7 +262,11 @@ manage(Window w, XWindowAttributes *wa)
261 grabbutton(c, Button2, MODKEY); 262 grabbutton(c, Button2, MODKEY);
262 grabbutton(c, Button3, MODKEY); 263 grabbutton(c, Button3, MODKEY);
263 264
264 settags(c); 265 if((tc = getclient(trans))) /* inherit tags */
266 for(i = 0; i < ntags; i++)
267 c->tags[i] = tc->tags[i];
268 else
269 settags(c);
265 if(!c->isfloat) 270 if(!c->isfloat)
266 c->isfloat = trans 271 c->isfloat = trans
267 || (c->maxw && c->minw && 272 || (c->maxw && c->minw &&