all repos — tint2 @ 1d9990b400ec1917fcc2a288db250878d4d8c876

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

*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
commit

1d9990b400ec1917fcc2a288db250878d4d8c876

parent

ea430f92db6396c1008ea9ef991c541407eb98d6

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/taskbar/task.csrc/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.csrc/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