diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-31 10:38:31 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2023-06-05 18:16:06 +0200 |
commit | 545f3eecf0026bcb9aefaef7410fec20e4096c91 (patch) | |
tree | aed55fe47cefca144c22a24c3f6f654a87ccb670 | |
parent | 6054354a08c1203d8e710a71f8a6a8b689911509 (diff) | |
download | dwm-545f3eecf0026bcb9aefaef7410fec20e4096c91.tar.gz |
dwm.c: Avoid fullscreen z-fighting on new terminal only
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |