From: Marco Peereboom Date: Sun, 25 Jan 2009 03:12:34 +0000 (+0000) Subject: MapRaised in max_stack to bring window into focus. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=b9f59efc8d3035c91884980f92fc7a7ac81d193b;p=spectrwm.git MapRaised in max_stack to bring window into focus. --- diff --git a/scrotwm.c b/scrotwm.c index 29d22e9..7831835 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -1041,6 +1041,7 @@ focus(struct swm_region *r, union arg *args) if (winfocus == winlostfocus) return; + XMapRaised(display, winfocus->id); focus_win(winfocus); XSync(display, False); }