diff options
Diffstat (limited to 'src/Tab.cc')
-rw-r--r-- | src/Tab.cc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Tab.cc,v 1.31 2002/08/11 21:12:10 fluxgen Exp $ | 22 | // $Id: Tab.cc,v 1.32 2002/09/08 19:41:59 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Tab.hh" | 24 | #include "Tab.hh" |
25 | 25 | ||
@@ -155,8 +155,11 @@ void Tab::raise() { | |||
155 | //get first tab | 155 | //get first tab |
156 | Tab *tab = 0; | 156 | Tab *tab = 0; |
157 | //raise tabs | 157 | //raise tabs |
158 | for (tab = getFirst(this); tab!=0; tab = tab->m_next) | 158 | Workspace::Stack st; |
159 | m_win->getScreen()->raiseWindows(&tab->m_tabwin, 1); | 159 | for (tab = getFirst(this); tab!=0; tab = tab->m_next) { |
160 | st.push_back(tab->m_tabwin); | ||
161 | } | ||
162 | m_win->getScreen()->raiseWindows(st); | ||
160 | } | 163 | } |
161 | 164 | ||
162 | //-------------- lower -------------------- | 165 | //-------------- lower -------------------- |