update something, i don't remember what
This commit is contained in:
parent
e4a36c0439
commit
649b15e02f
4 changed files with 34 additions and 18 deletions
14
dwm.c
14
dwm.c
|
@ -1811,7 +1811,19 @@ tagmon(const Arg *arg)
|
|||
{
|
||||
if (!selmon->sel || !mons->next)
|
||||
return;
|
||||
sendmon(selmon->sel, dirtomon(arg->i));
|
||||
|
||||
int restore_fullscreen = 0;
|
||||
Client *window = selmon->sel;
|
||||
|
||||
if (window->isfullscreen) {
|
||||
setfullscreen(window, 0);
|
||||
restore_fullscreen = 1;
|
||||
}
|
||||
|
||||
sendmon(window, dirtomon(arg->i));
|
||||
|
||||
if (restore_fullscreen)
|
||||
setfullscreen(window, 1);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue