From 81aff658fdeca9ff5f37a86b72a0500e82def415 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 9 Feb 2002 11:48:18 +0000 Subject: if statement --- src/Workspace.cc | 4 ++-- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Workspace.cc,v 1.7 2002/02/08 14:04:51 fluxgen Exp $ +// $Id: Workspace.cc,v 1.8 2002/02/09 11:48:18 fluxgen Exp $ // use GNU extensions #ifndef _GNU_SOURCE @@ -120,7 +120,7 @@ const int Workspace::removeWindow(FluxboxWindow *w) { FluxboxWindow *top = stackingList.front(); - if (! top || ! top->setInputFocus()) { + if (! top && ! top->setInputFocus()) { Fluxbox::instance()->setFocusedWindow((FluxboxWindow *) 0); XSetInputFocus(Fluxbox::instance()->getXDisplay(), screen->getToolbar()->getWindowID(), -- cgit v0.11.2