From a7515b6d85b9cdb97d2365559109af74e68f6ff8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 30 Jul 2002 07:17:07 +0000 Subject: don't focus non-visible windows --- src/Window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Window.cc') diff --git a/src/Window.cc b/src/Window.cc index 1c49346c..cd8716e0 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1541,8 +1541,8 @@ void BlackboxWindow::configureShape(void) { bool BlackboxWindow::setInputFocus(void) { if (flags.focused) return True; - assert((flags.stuck || // window must be on the current workspace or sticky - blackbox_attrib.workspace == screen->getCurrentWorkspaceID())); + assert(flags.stuck || // window must be on the current workspace or sticky + blackbox_attrib.workspace == screen->getCurrentWorkspaceID()); /* We only do this check for normal windows and dialogs because other windows -- cgit v1.2.3