]> Dogcows Code - chaz/tint2/commitdiff
*fix* use copied data for task icons on 64bit
authorAndreas Fink <andreas.fink85@googlemail.com>
Sat, 17 Oct 2009 07:03:44 +0000 (07:03 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Sat, 17 Oct 2009 07:03:44 +0000 (07:03 +0000)
*add* comment added why I commented a complete section

src/taskbar/task.c
src/tint.c

index 39dfd642e248dd90efa3b3cc3b7092d16a250ea3..25c383ea1e372c129785a0f7f9b6a67a4c73d3ed 100644 (file)
@@ -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
index d0985622cdbc5d4b55d9620b096c96eb18622de7..a64f92f0d1a39245d29ec8e2125fd11937d2e5c2 100644 (file)
@@ -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
This page took 0.024479 seconds and 4 git commands to generate.