all repos — fluxbox @ 1467457cdee0ca1622894e594560f48bfafd34d0

custom fork of the fluxbox windowmanager

new workspace window stacking
fluxgen fluxgen
commit

1467457cdee0ca1622894e594560f48bfafd34d0

parent

1cdc741cc43cf03de54959cb29d92a4e9c0649be

2 files changed, 11 insertions(+), 7 deletions(-)

jump to
M src/Tab.ccsrc/Tab.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Tab.cc,v 1.31 2002/08/11 21:12:10 fluxgen Exp $ +// $Id: Tab.cc,v 1.32 2002/09/08 19:41:59 fluxgen Exp $ #include "Tab.hh"

@@ -155,8 +155,11 @@ void Tab::raise() {

//get first tab Tab *tab = 0; //raise tabs - for (tab = getFirst(this); tab!=0; tab = tab->m_next) - m_win->getScreen()->raiseWindows(&tab->m_tabwin, 1); + Workspace::Stack st; + for (tab = getFirst(this); tab!=0; tab = tab->m_next) { + st.push_back(tab->m_tabwin); + } + m_win->getScreen()->raiseWindows(st); } //-------------- lower --------------------
M src/Toolbar.ccsrc/Toolbar.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.cc,v 1.30 2002/09/06 16:50:51 fluxgen Exp $ +// $Id: Toolbar.cc,v 1.31 2002/09/08 19:43:15 fluxgen Exp $ #include "Toolbar.hh"

@@ -1022,8 +1022,9 @@ checkClock(true, true);

} #endif // HAVE_STRFTIME else if (! on_top) { - Window w[1] = { frame.window }; - screen->raiseWindows(w, 1); + Workspace::Stack st; + st.push_back(frame.window); + screen->raiseWindows(st); } } else if (be->button == 2 && (! on_top)) { XLowerWindow(display, frame.window);

@@ -1315,7 +1316,7 @@ screen()->saveToolbarOnTop(toolbar->on_top);

setItemSelected(1, change); if (toolbar->isOnTop()) - toolbar->screen->raiseWindows((Window *) 0, 0); + toolbar->screen->raiseWindows(Workspace::Stack()); Fluxbox::instance()->save_rc(); break;