From fd728cbbe47028d98db4f61a63e2bbeaeef748b5 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Tue, 3 Feb 2009 22:04:50 +0000 Subject: [PATCH] *sigh* fix corner case where windows were being mapped from a different workspace after alt-q. --- scrotwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrotwm.c b/scrotwm.c index f277ea4..6ff67a1 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -2179,8 +2179,8 @@ manage_window(Window id) set_win_state(win, NormalState); - /* floaters need this */ - if (win->floating) + /* floaters need to be mapped if they are in the current workspace */ + if (win->floating && (ws->idx == r->ws->idx)) XMapRaised(display, win->id); /* make new win focused */ -- 1.7.10.4