summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-01-21 09:13:49 -0500
committerLuke Smith <luke@lukesmith.xyz>2022-01-21 09:13:49 -0500
commit0fc18ac866794a37d803849e44da9fceba86e511 (patch)
treee01315dc90f456aafa6d2e4d88883b3f7e658c70 /dwm.c
parent8306102dacd7a1b2830124e9abf28821ca5a35e8 (diff)
parentb8d91c9cb354aab8ebf80283514c4c6c10764d2e (diff)
Merge branch 'frei-0xff-master'
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index d752216..c0d141d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1248,6 +1248,8 @@ manage(Window w, XWindowAttributes *wa)
(unsigned char *) &(c->win), 1);
XMoveResizeWindow(dpy, c->win, c->x + 2 * sw, c->y, c->w, c->h); /* some windows require this */
setclientstate(c, NormalState);
+ if(selmon->sel && selmon->sel->isfullscreen && !c->isfloating)
+ setfullscreen(selmon->sel, 0);
if (c->mon == selmon)
unfocus(selmon->sel, 0);
c->mon->sel = c;