*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:
parent
ea430f92db
commit
1d9990b400
2 changed files with 4 additions and 1 deletions
|
@ -208,7 +208,7 @@ void get_icon (Task *tsk)
|
|||
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
|
||||
|
|
|
@ -517,6 +517,9 @@ void event_property_notify (XEvent *e)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue