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

Paint app icons when updated

Add calls to wAppIconPaint when wIconUpdate is called on the app icon.

Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
This commit is contained in:
Brad Jorsch
2010-10-08 15:08:33 -04:00
committed by Carlos R. Mafra
parent ee1f13da45
commit 125cba8f82
3 changed files with 15 additions and 2 deletions

View File

@@ -42,6 +42,7 @@
#include "framewin.h"
#include "actions.h"
#include "client.h"
#include "appicon.h"
#include "wmspec.h"
#include "icon.h"
#include "stacking.h"
@@ -459,6 +460,11 @@ static void updateIconImage(WWindow * wwin)
XFree(property);
if (wwin->icon) wIconUpdate(wwin->icon);
WApplication *app = wApplicationOf(wwin->main_window);
if (app && app->app_icon){
wIconUpdate(app->app_icon->icon);
wAppIconPaint(app->app_icon);
}
}
static void updateShowDesktop(WScreen * scr, Bool show)