Line 0
Link Here
|
|
|
1 |
--- src/Tab.cc.orig Tue Feb 25 03:00:22 2003 |
2 |
+++ src/Tab.cc Tue Feb 25 03:01:31 2003 |
3 |
@@ -1011,14 +1011,14 @@ |
4 |
Fluxbox *fluxbox = Fluxbox::instance(); |
5 |
if (m_prev) { //if this have a chain to "the left" (previous tab) then set it's next to this next |
6 |
m_prev->m_next = m_next; |
7 |
- if(!m_next && !fluxbox->useTabs())//Only two tabs in list, remove tab from remaining window |
8 |
+ if(!m_next && !m_prev->m_prev && !fluxbox->useTabs())//Only two tabs in list, remove tab from remaining window |
9 |
m_prev->m_win->setTab(false); |
10 |
else |
11 |
tmp = m_prev; |
12 |
} |
13 |
if (m_next) { //if this have a chain to "the right" (next tab) then set it's prev to this prev |
14 |
m_next->m_prev = m_prev; |
15 |
- if(!m_prev && !fluxbox->useTabs())//Only two tabs in list, remove tab from remaining window |
16 |
+ if(!m_prev && !m_next->m_next && !fluxbox->useTabs())//Only two tabs in list, remove tab from remaining window |
17 |
m_next->m_win->setTab(false); |
18 |
else |
19 |
tmp = m_next; |