*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
Andreas.Fink85 Andreas.Fink85@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2 files changed,
4 insertions(+),
1 deletions(-)
M
src/taskbar/task.c
→
src/taskbar/task.c
@@ -208,7 +208,7 @@ DATA32 icon_data[w * h];
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
M
src/tint.c
→
src/tint.c
@@ -517,6 +517,9 @@ remove_task( tsk );
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