don't break existing tabs on tab()
This commit is contained in:
parent
7ecbae334f
commit
dd2874a0a1
4
tab.c
4
tab.c
|
@ -81,7 +81,11 @@ uicb_tab(awesome_config *awesomeconf,
|
||||||
{
|
{
|
||||||
/* take the last tabbed window */
|
/* take the last tabbed window */
|
||||||
for(tmp = sel; tmp->tab.next; tmp = tmp->tab.next);
|
for(tmp = sel; tmp->tab.next; tmp = tmp->tab.next);
|
||||||
|
|
||||||
tmp->tab.next = c;
|
tmp->tab.next = c;
|
||||||
|
if(c->tab.prev)
|
||||||
|
c->tab.prev->tab.next = tmp;
|
||||||
|
|
||||||
c->tab.prev = tmp;
|
c->tab.prev = tmp;
|
||||||
|
|
||||||
c->tab.isvisible = False;
|
c->tab.isvisible = False;
|
||||||
|
|
Loading…
Reference in New Issue