83322e0
--- WindowMaker-0.91.0/src/actions.c.vns	2005-05-18 22:16:13 +0400
83322e0
+++ WindowMaker-0.91.0/src/actions.c	2005-05-18 22:17:23 +0400
83322e0
@@ -1251,6 +1251,9 @@
83322e0
     /* In case we were shaded and iconified, also unshade */
83322e0
     if (!netwm_hidden)
83322e0
         wUnshadeWindow(wwin);
83322e0
+
83322e0
+    if (wwin->flags.focused)
83322e0
+	wSetFocusTo(wwin->screen_ptr, wwin);
83322e0
 }
83322e0
 
83322e0