From 304d3e4fd5d31c885f5f49ed934a8d507d5ecca8 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 2 Jun 2002 22:57:52 +0000 Subject: removed insert window after last focused, temporary fix --- src/Workspace.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Workspace.cc b/src/Workspace.cc index 35cd20b..aa9ac7e 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Workspace.cc,v 1.20 2002/05/17 11:03:36 fluxgen Exp $ +// $Id: Workspace.cc,v 1.21 2002/06/02 22:57:52 fluxgen Exp $ // use GNU extensions #ifndef _GNU_SOURCE @@ -93,6 +93,7 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) { FluxboxWindow *focused = Fluxbox::instance()->getFocusedWindow(); //if there isn't any window that's focused, just add it to the end of the list + /* if (focused == 0) { windowList.push_back(w); //Add client to clientmenu @@ -113,8 +114,10 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) { } - - + */ + //add to list + m_clientmenu.insert(w->getTitle().c_str()); + windowList.push_back(w); //update menugraphics m_clientmenu.update(); -- cgit v0.11.2