aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-06-02 22:57:52 (GMT)
committerfluxgen <fluxgen>2002-06-02 22:57:52 (GMT)
commit304d3e4fd5d31c885f5f49ed934a8d507d5ecca8 (patch)
tree27146c5d7f2e1ec243e5da1144c2a240aeef6ecf /src
parent66b1894bf264bb64748fc39824f97ef8bd9cb191 (diff)
downloadfluxbox_pavel-304d3e4fd5d31c885f5f49ed934a8d507d5ecca8.zip
fluxbox_pavel-304d3e4fd5d31c885f5f49ed934a8d507d5ecca8.tar.bz2
removed insert window after last focused, temporary fix
Diffstat (limited to 'src')
-rw-r--r--src/Workspace.cc9
1 files 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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.20 2002/05/17 11:03:36 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.21 2002/06/02 22:57:52 fluxgen Exp $
26 26
27// use GNU extensions 27// use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -93,6 +93,7 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) {
93 FluxboxWindow *focused = Fluxbox::instance()->getFocusedWindow(); 93 FluxboxWindow *focused = Fluxbox::instance()->getFocusedWindow();
94 94
95 //if there isn't any window that's focused, just add it to the end of the list 95 //if there isn't any window that's focused, just add it to the end of the list
96 /*
96 if (focused == 0) { 97 if (focused == 0) {
97 windowList.push_back(w); 98 windowList.push_back(w);
98 //Add client to clientmenu 99 //Add client to clientmenu
@@ -113,8 +114,10 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) {
113 114
114 115
115 } 116 }
116 117 */
117 118 //add to list
119 m_clientmenu.insert(w->getTitle().c_str());
120 windowList.push_back(w);
118 121
119 //update menugraphics 122 //update menugraphics
120 m_clientmenu.update(); 123 m_clientmenu.update();