*fix* use copied data for task icons on 64bit
*add* comment added why I commented a complete section git-svn-id: http://tint2.googlecode.com/svn/trunk@215 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -208,7 +208,7 @@ void get_icon (Task *tsk)
|
|||||||
int length = w * h;
|
int length = w * h;
|
||||||
for (i = 0; i < length; ++i)
|
for (i = 0; i < length; ++i)
|
||||||
icon_data[i] = tmp_data[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
|
#else
|
||||||
img = imlib_create_image_using_data (w, h, (DATA32*)tmp_data);
|
img = imlib_create_image_using_data (w, h, (DATA32*)tmp_data);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -517,6 +517,9 @@ void event_property_notify (XEvent *e)
|
|||||||
panel_refresh = 1;
|
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) {
|
// else if (at == server.atom.WM_STATE) {
|
||||||
// // Iconic state
|
// // Iconic state
|
||||||
// // TODO : try to delete following code
|
// // TODO : try to delete following code
|
||||||
|
|||||||
Reference in New Issue
Block a user