When unhiding window by clicking its appicon, unconditionaly
raise its frame.

Original-patch-by: Artem Delendik <[email protected]>
Signed-off-by: Alexey I. Froloff <[email protected]>
---
 src/actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/actions.c b/src/actions.c
index dea4ebb..282bfc1 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -1415,11 +1415,11 @@ void wUnhideApplication(WApplication *wapp, Bool 
miniwindows, Bool bringToCurren
                                if (bringToCurrentWS)
                                        wWindowChangeWorkspace(wlist, 
scr->current_workspace);
                                wlist->flags.hidden = 0;
+                               wRaiseFrame(wlist->frame->core);
                                if (wlist->frame->workspace == 
scr->current_workspace) {
                                        XMapWindow(dpy, 
wlist->frame->core->window);
                                        if (miniwindows) {
                                                wUnshadeWindow(wlist);
-                                               wRaiseFrame(wlist->frame->core);
                                        }
                                }
                                WMPostNotificationName(WMNChangedState, wlist, 
"hide");
-- 
1.7.2.3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to