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:
committed by
Carlos R. Mafra
parent
df601267e6
commit
c7e3666e62
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user