Layout/Tag: Fix some screen/tag in tags[][]

This commit is contained in:
Martin Duquesnoy
2011-06-01 23:14:56 +02:00
parent 57ab723f5d
commit 34d94335f2
2 changed files with 6 additions and 6 deletions

View File

@@ -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;

View File

@@ -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;
} }