also move fullscreen clients

This commit is contained in:
Alexander Bocken 2022-04-26 15:05:17 +02:00
parent 6878bedf98
commit b61a38d642
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

2
dwm.c
View File

@ -1776,6 +1776,8 @@ tagmon(const Arg *arg)
{ {
if (!selmon->sel || !mons->next) if (!selmon->sel || !mons->next)
return; return;
if (selmon->sel->isfullscreen)
setfullscreen(selmon->sel, 0);
unsigned int sel_sp_tags = selmon->sel->tags & SPTAGMASK; unsigned int sel_sp_tags = selmon->sel->tags & SPTAGMASK;
if (sel_sp_tags) { if (sel_sp_tags) {
//add all tags of scratchpad client to new mon //add all tags of scratchpad client to new mon