Merge branch 'master' of git.philpep.org:wmfs into philpep

This commit is contained in:
Philippe Pepiot 2010-04-18 19:12:27 +02:00
commit 06d014722f

View File

@ -304,6 +304,7 @@ uicb_tag_toggle_additional(uicb_t cmd)
void
tag_swap(int s, int t1, int t2)
{
Client *c;
Tag t;
int i, j;
@ -315,6 +316,10 @@ tag_swap(int s, int t1, int t2)
tags[s][t1] = tags[s][t2];
tags[s][t2] = t;
for(c = clients; c; c = c->next)
if(c->screen == s && c->tag == t1)
c->tag = t2;
/* Adapt tags buttons */
for(i = 1, j = 0; i < conf.ntag[s] + 1; ++i)
{