summaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 67b984c..091e14d 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.44 2003/02/02 16:32:40 rathnor Exp $ 25// $Id: Workspace.cc,v 1.45 2003/02/03 13:56:12 fluxgen Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -175,7 +175,7 @@ int Workspace::removeWindow(FluxboxWindow *w) {
175 // this bit is pretty dodgy at present 175 // this bit is pretty dodgy at present
176 // it gets the next item down, then scans through our windowlist to see if it is 176 // it gets the next item down, then scans through our windowlist to see if it is
177 // in this workspace. If not, goes down more 177 // in this workspace. If not, goes down more
178 FbTk::XLayerItem *item = 0, *lastitem = w->getLayerItem(); 178 /* //!! TODO! FbTk::XLayerItem *item = 0, *lastitem = w->getLayerItem();
179 do { 179 do {
180 item = m_layermanager.getItemBelow(*lastitem); 180 item = m_layermanager.getItemBelow(*lastitem);
181 Windows::iterator it = m_windowlist.begin(); 181 Windows::iterator it = m_windowlist.begin();
@@ -208,7 +208,7 @@ int Workspace::removeWindow(FluxboxWindow *w) {
208 } while (item && !top); 208 } while (item && !top);
209 209
210 } 210 }
211 211 */
212 if (top == 0|| !top->setInputFocus()) { 212 if (top == 0|| !top->setInputFocus()) {
213 Fluxbox::instance()->setFocusedWindow(0); // set focused window to none 213 Fluxbox::instance()->setFocusedWindow(0); // set focused window to none
214 } 214 }