1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

Made highlighting the AppIcon of the active app configurable at run time

This commit is contained in:
BALATON Zoltan
2012-11-16 21:53:57 +01:00
committed by Carlos R. Mafra
parent df601267e6
commit c7e3666e62
10 changed files with 24 additions and 24 deletions

View File

@@ -194,7 +194,6 @@ void wApplicationDestroy(WApplication * wapp)
XDeleteContext(dpy, wapp->main_window, wAppWinContext);
wAppMenuDestroy(wapp->menu);
wApplicationDeactivate(wapp);
/* Remove application icon */
removeAppIconFor(wapp);
@@ -212,20 +211,16 @@ void wApplicationDestroy(WApplication * wapp)
void wApplicationActivate(WApplication *wapp)
{
#ifdef NEWAPPICON
if (wapp->app_icon) {
wIconSetHighlited(wapp->app_icon->icon, True);
wAppIconPaint(wapp->app_icon);
}
#endif
}
void wApplicationDeactivate(WApplication *wapp)
{
#ifdef NEWAPPICON
if (wapp->app_icon) {
wIconSetHighlited(wapp->app_icon->icon, False);
wAppIconPaint(wapp->app_icon);
}
#endif
}