aboutsummaryrefslogtreecommitdiff
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 d8b77a4..ae986ad 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.57 2003/05/04 13:07:17 rathnor Exp $ 25// $Id: Workspace.cc,v 1.58 2003/05/04 23:38:06 rathnor Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -218,7 +218,7 @@ int Workspace::removeWindow(FluxboxWindow *w) {
218 218
219 if (w->isFocused()) { 219 if (w->isFocused()) {
220 if (screen.isSloppyFocus()) { 220 if (screen.isSloppyFocus()) {
221 Fluxbox::instance()->setFocusedWindow(0); // set focused window to none 221 Fluxbox::instance()->revertFocus(&screen);
222 } else if (w->isTransient() && w->getTransientFor() && 222 } else if (w->isTransient() && w->getTransientFor() &&
223 w->getTransientFor()->isVisible()) { 223 w->getTransientFor()->isVisible()) {
224 w->getTransientFor()->setInputFocus(); 224 w->getTransientFor()->setInputFocus();
@@ -263,7 +263,7 @@ int Workspace::removeWindow(FluxboxWindow *w) {
263 } 263 }
264 */ 264 */
265 if (top == 0|| !top->setInputFocus()) { 265 if (top == 0|| !top->setInputFocus()) {
266 Fluxbox::instance()->setFocusedWindow(0); // set focused window to none 266 Fluxbox::instance()->revertFocus(&screen);
267 } 267 }
268 } 268 }
269 } 269 }