bug fix: apply selected layouts for tag in uicb_tag_view{next,prev}
Thanks Jordà Polo <jorda@ettin.org>
This commit is contained in:
parent
b4cc86abf0
commit
486dd410ca
2
tag.c
2
tag.c
|
@ -331,6 +331,7 @@ uicb_tag_viewnext(Display *disp,
|
|||
if(++firsttag >= awesomeconf->ntags)
|
||||
firsttag = 0;
|
||||
awesomeconf->tags[firsttag].selected = True;
|
||||
awesomeconf->current_layout = awesomeconf->tags[firsttag].layout;
|
||||
saveawesomeprops(disp, awesomeconf);
|
||||
arrange(disp, drawcontext, awesomeconf);
|
||||
}
|
||||
|
@ -359,6 +360,7 @@ uicb_tag_viewprev(Display *disp,
|
|||
if(--firsttag < 0)
|
||||
firsttag = awesomeconf->ntags - 1;
|
||||
awesomeconf->tags[firsttag].selected = True;
|
||||
awesomeconf->current_layout = awesomeconf->tags[firsttag].layout;
|
||||
saveawesomeprops(disp, awesomeconf);
|
||||
arrange(disp, drawcontext, awesomeconf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue