aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 677e697..81eb1e4 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -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: Workspace.cc,v 1.7 2002/02/08 14:04:51 fluxgen Exp $ 22// $Id: Workspace.cc,v 1.8 2002/02/09 11:48:18 fluxgen Exp $
23 23
24// use GNU extensions 24// use GNU extensions
25#ifndef _GNU_SOURCE 25#ifndef _GNU_SOURCE
@@ -120,7 +120,7 @@ const int Workspace::removeWindow(FluxboxWindow *w) {
120 120
121 FluxboxWindow *top = stackingList.front(); 121 FluxboxWindow *top = stackingList.front();
122 122
123 if (! top || ! top->setInputFocus()) { 123 if (! top && ! top->setInputFocus()) {
124 Fluxbox::instance()->setFocusedWindow((FluxboxWindow *) 0); 124 Fluxbox::instance()->setFocusedWindow((FluxboxWindow *) 0);
125 XSetInputFocus(Fluxbox::instance()->getXDisplay(), 125 XSetInputFocus(Fluxbox::instance()->getXDisplay(),
126 screen->getToolbar()->getWindowID(), 126 screen->getToolbar()->getWindowID(),