*add* comment added why I commented a complete section
int length = w * h;
for (i = 0; i < length; ++i)
icon_data[i] = tmp_data[i];
- img = imlib_create_image_using_data (w, h, icon_data);
+ img = imlib_create_image_using_copied_data (w, h, icon_data);
#else
img = imlib_create_image_using_data (w, h, (DATA32*)tmp_data);
#endif
panel_refresh = 1;
}
}
+// We do not check for the iconified state, since it only unsets our active window
+// but in openbox a shaded window is considered iconified. So we would loose the active window
+// property on unshading it again (commented 01.10.2009)
// else if (at == server.atom.WM_STATE) {
// // Iconic state
// // TODO : try to delete following code