diff options
-rw-r--r-- | dwm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1653,6 +1653,11 @@ spawn(const Arg *arg) if (arg->v == dmenucmd) dmenumon[0] = '0' + selmon->num; + + /* always unset fullscreen when spawning a new window */ + else if(selmon->sel != NULL && selmon->sel->isfullscreen) + setfullscreen(selmon->sel, 0); + if (fork() == 0) { if (dpy) close(ConnectionNumber(dpy)); |