fixed Issue 282

git-svn-id: http://tint2.googlecode.com/svn/trunk@526 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-08-08 14:06:15 +00:00
parent 35b94d7acd
commit 3eb1b736e3
8 changed files with 61 additions and 18 deletions

View File

@@ -221,7 +221,7 @@ void get_icon (Task *tsk)
}
data = server_get_property (tsk->win, server.atom._NET_WM_ICON, XA_CARDINAL, &i);
if (data) {
if (data && i) {
// get ARGB icon
int w, h;
long *tmp_data;

View File

@@ -75,6 +75,7 @@ void init_taskbar()
panel->g_task.area.bg = &g_array_index(backgrounds, Background, 0);
// taskbar
panel->g_taskbar.area.size_mode = SIZE_BY_LAYOUT;
panel->g_taskbar.area._resize = resize_taskbar;
panel->g_taskbar.area.redraw = 1;
panel->g_taskbar.area.on_screen = 1;
@@ -88,6 +89,7 @@ void init_taskbar()
}
// task
panel->g_task.area.size_mode = SIZE_BY_LAYOUT;
panel->g_task.area._draw_foreground = draw_task;
panel->g_task.area.redraw = 1;
panel->g_task.area.on_screen = 1;