aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-09 11:48:18 (GMT)
committerfluxgen <fluxgen>2002-02-09 11:48:18 (GMT)
commit81aff658fdeca9ff5f37a86b72a0500e82def415 (patch)
tree3b02c3266659b6d516ebcd0be658594978c08c08 /src
parentbe93c21b2f271fc431f0933237bdae75d3783e03 (diff)
downloadfluxbox-81aff658fdeca9ff5f37a86b72a0500e82def415.zip
fluxbox-81aff658fdeca9ff5f37a86b72a0500e82def415.tar.bz2
if statement
Diffstat (limited to 'src')
-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(),