Hi, I sent today my latest patches about icons. I am happy now with the changes and I think the code is now easier and right. Only one thing about icons; The WWindow struct has two icons:
1. WIcon *icon: Is the window icon when the window is minimized. When the window is open (not minimized), is NULL. This is important because we cannot use it. The icon image is at icon->file_image and the image is related to the user config and X11 config. 2. RImage net_icon_image: Is the window image from X11, is not configurable, and could be NULL. Is used sometimes to create the window's icon (WIcon) and is used in Alt+tab. Probably, someone can do a better behaviour with this window, for example: a) avoid to be NULL, using the default icon [test if NULL in creation + get_default_image()] b) be configurable, using the user icon c) Change the names of "icon" and "net_icon_image" If someone want to do it and have problems, please don't hesitate in contact with me (using the wmaker-dev mail list is better for all). For me, the icon stuff is now ok. Best regards, kix -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/ -- To unsubscribe, send mail to [email protected].
