Layout/Tag: Fix some screen/tag in tags[][]
This commit is contained in:
parent
57ab723f5d
commit
34d94335f2
@ -300,7 +300,7 @@ grid(int screen, Bool horizontal)
|
||||
}
|
||||
}
|
||||
|
||||
tags[selscreen][seltag[selscreen]].flags &= ~CleanFactFlag;
|
||||
tags[screen][seltag[screen]].flags &= ~CleanFactFlag;
|
||||
ewmh_update_current_tag_prop();
|
||||
|
||||
return;
|
||||
@ -432,7 +432,7 @@ multi_tile(int screen, Position type)
|
||||
cgeo.y = c->pgeo.y + c->pgeo.height + BORDH + TBARH;
|
||||
}
|
||||
|
||||
tags[selscreen][seltag[selscreen]].flags &= ~CleanFactFlag;
|
||||
tags[screen][seltag[screen]].flags &= ~CleanFactFlag;
|
||||
ewmh_update_current_tag_prop();
|
||||
|
||||
return;
|
||||
@ -615,7 +615,7 @@ mirror(int screen, Bool horizontal)
|
||||
|
||||
}
|
||||
|
||||
tags[selscreen][seltag[selscreen]].flags &= ~CleanFactFlag;
|
||||
tags[screen][seltag[screen]].flags &= ~CleanFactFlag;
|
||||
ewmh_update_current_tag_prop();
|
||||
|
||||
return;
|
||||
|
||||
@ -106,8 +106,8 @@ tag_set(int tag)
|
||||
|
||||
if(tags[selscreen][tag].flags & RequestUpdateFlag)
|
||||
{
|
||||
tags[selscreen][seltag[selscreen]].layout.func(selscreen);
|
||||
tags[selscreen][seltag[selscreen]].flags &= ~RequestUpdateFlag;
|
||||
tags[selscreen][tag].layout.func(selscreen);
|
||||
tags[selscreen][tag].flags &= ~RequestUpdateFlag;
|
||||
}
|
||||
|
||||
/* To focus selected client of the via focusontag option */
|
||||
@ -159,7 +159,7 @@ tag_transfert(Client *c, int tag)
|
||||
client_focus_next(c);
|
||||
client_update_attributes(c);
|
||||
|
||||
tags[c->screen][c->tag].flags |= RequestUpdateFlag;
|
||||
tags[c->screen][tag].flags |= RequestUpdateFlag;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user