update icon on swallow/unswallow
This commit is contained in:
parent
9b057bceda
commit
22086c3839
|
@ -1359,6 +1359,9 @@ swallow(Client *p, Client *c)
|
|||
Window w = p->win;
|
||||
p->win = c->win;
|
||||
c->win = w;
|
||||
#if USEWINICON
|
||||
updateicon(p);
|
||||
#endif
|
||||
updatetitle(p);
|
||||
XMoveResizeWindow(dpy, p->win, p->x, p->y, p->w, p->h);
|
||||
arrange(p->mon);
|
||||
|
@ -1376,6 +1379,9 @@ unswallow(Client *c)
|
|||
|
||||
/* unfullscreen the client */
|
||||
setfullscreen(c, 0);
|
||||
#if USEWINICON
|
||||
updateicon(c);
|
||||
#endif
|
||||
updatetitle(c);
|
||||
arrange(c->mon);
|
||||
XMapWindow(dpy, c->win);
|
||||
|
|
Loading…
Reference in a new issue