diff options
author | Aajonus Online <aajonus.online@gmail.com> | 2020-05-05 19:31:53 +0300 |
---|---|---|
committer | Aajonus Online <aajonus.online@gmail.com> | 2020-05-05 19:31:53 +0300 |
commit | 305c442acab6672bbf01fb7e8fb7a9806f99db3b (patch) | |
tree | 18acb17c122049ac088a99d9c046c703e285a930 /dwm.c | |
parent | c4f45fafac88d8e800abe1958116855ff172933e (diff) |
swallow patch: unfullscreen client and reset focus
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -513,12 +513,15 @@ unswallow(Client *c) free(c->swallowing); c->swallowing = NULL; + /* unfullscreen the client */ + setfullscreen(c, 0); updatetitle(c); arrange(c->mon); XMapWindow(dpy, c->win); XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); - configure(c); setclientstate(c, NormalState); + focus(NULL); + arrange(c->mon); } void |