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