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

wIconUpdate image preselected

The function wIconUpdate can receive a image to setup as icon image.
If image is NULL, then use the original method, using different procedures
to get the image.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-14 19:53:04 +01:00
committed by Carlos R. Mafra
parent faa74a14b1
commit 522d84b0ef
6 changed files with 37 additions and 33 deletions

View File

@@ -482,11 +482,11 @@ void wClientCheckProperty(WWindow * wwin, XPropertyEvent * event)
WApplication *wapp;
if (wwin->flags.miniaturized && wwin->icon) {
wIconUpdate(wwin->icon);
wIconUpdate(wwin->icon, NULL);
}
wapp = wApplicationOf(wwin->main_window);
if (wapp && wapp->app_icon) {
wIconUpdate(wapp->app_icon->icon);
wIconUpdate(wapp->app_icon->icon, NULL);
wAppIconPaint(wapp->app_icon);
}
}