From: "Rodolfo García Peñas (kix)" <k...@kix.es>

Hi,

these paches do a little changes in the icon behaviour.

The main change is join the window icon functions (0006), using the wm_net_icon
and the wmhints icon in the same function. Now the right icon is
saved in the net_icon_image and then, we can remove some extra calls.
This change is done in the last patch (0007).

Before this change, we needs move some functions and join others.

Finally, patches 1 and 2, make the arguments more "strict", because
we are not using the right object to do the work. For example,
if we need get the default image for the current screen, we need
something like "get_default_icon_rimage(WScreen *scr)" not
"get_default_icon_rimage(WIcon *icon)", because we don't need icons
here. Now the function can be called from other functions without
icons.

0001-Get-default-image-for-icon-changed.patch
0002-wm_hints-functions-argument-adjust.patch
0003-Update-the-icon-using-the-window-inspected.patch
0004-get_wwindow_image_from_wm_hints-moved-to-wmspec.patch
0005-get_window_image_from_x11-renamed.patch
0006-New-function-get_window_image.patch
0007-Update-net_icon_image-with-all-images.patch

I tested these patches with some applications without problems here.
Comments are welcome.

Cheers,
kix

PS. Section 4.1.9 is very interesting: http://tronche.com/gui/x/icccm/
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to