1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

Minor fixes to appicon highlighting

When an app hides its window but doesn't exit (e.g. apps that "minimize"
to the system tray), the highlighting was not being removed.

When alt-tabbing, the tabbed-to app's icon was not getting highlighted.

Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
This commit is contained in:
Brad Jorsch
2010-09-30 20:53:45 -04:00
committed by Carlos R. Mafra
parent 70abda81d0
commit 3490c8bd30
2 changed files with 13 additions and 1 deletions

View File

@@ -211,8 +211,9 @@ void wSetFocusTo(WScreen *scr, WWindow *wwin)
if (wwin->flags.mapped)
wAppMenuMap(napp->menu, wwin);
wApplicationActivate(napp);
}
if (napp)
wApplicationActivate(napp);
XFlush(dpy);
old_scr = scr;