From b61a38d6424e7e29425bab2040a76327610ad0cf Mon Sep 17 00:00:00 2001 From: AlexBocken Date: Tue, 26 Apr 2022 15:05:17 +0200 Subject: [PATCH] also move fullscreen clients --- dwm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dwm.c b/dwm.c index b3f7928..ccb9350 100644 --- a/dwm.c +++ b/dwm.c @@ -1776,6 +1776,8 @@ tagmon(const Arg *arg) { if (!selmon->sel || !mons->next) return; + if (selmon->sel->isfullscreen) + setfullscreen(selmon->sel, 0); unsigned int sel_sp_tags = selmon->sel->tags & SPTAGMASK; if (sel_sp_tags) { //add all tags of scratchpad client to new mon