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:
committed by
Carlos R. Mafra
parent
faa74a14b1
commit
522d84b0ef
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user