aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 2692deb..72a19c2 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1655,8 +1655,8 @@ 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)
+ /* always unset fullscreen when spawning a new terminal */
+ if (arg->v == termcmd && selmon->sel != NULL && selmon->sel->isfullscreen)
setfullscreen(selmon->sel, 0);
if (fork() == 0) {
remember that computers suck.