]> Dogcows Code - chaz/tint2/blobdiff - src/taskbar/task.c
support skip_taskbar by Andreas.Fink85
[chaz/tint2] / src / taskbar / task.c
index 06c85aba4129714573ee8f3d323af763a3a70afd..55292ab9bb445c20c0404e805d826e8baffbf892 100644 (file)
@@ -204,11 +204,11 @@ void get_icon (Task *tsk)
 #endif
                }
                XFree (data);
-   }
-   else {
-      // get Pixmap icon
-      XWMHints *hints = XGetWMHints(server.dsp, tsk->win);
-      if (!hints) return;
+       }
+       else {
+               // get Pixmap icon
+               XWMHints *hints = XGetWMHints(server.dsp, tsk->win);
+               if (!hints) return;
                if (hints->flags & IconPixmapHint && hints->icon_pixmap != 0) {
                        // get width, height and depth for the pixmap
                        Window root;
@@ -235,7 +235,7 @@ void get_icon (Task *tsk)
                        imlib_free_image();
                }
                XFree(hints);
-   }
+       }
 
        if (tsk->icon_data) {
                tsk->icon_data_active = malloc (tsk->icon_width * tsk->icon_height * sizeof (DATA32));
This page took 0.022687 seconds and 4 git commands to generate.