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