From: Andreas Fink Date: Mon, 18 Jan 2010 20:16:32 +0000 (+0000) Subject: *fix* bug fixed (multi-desktop and taskbar_active_id != taskbar_id) X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=4cd6c50e7ba964a921db9e9f8c29b734e2e3c729;p=chaz%2Ftint2 *fix* bug fixed (multi-desktop and taskbar_active_id != taskbar_id) --- diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index b369183..41f93a4 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -435,7 +435,7 @@ gboolean add_icon(Window id) // show the window if (!traywin->hide) - XMapRaised(server.dsp, traywin->tray_id); + XMapWindow(server.dsp, traywin->tray_id); if (!traywin->hide && !panel->is_hidden) XMapRaised(server.dsp, traywin->id); diff --git a/src/taskbar/taskbar.c b/src/taskbar/taskbar.c index f63c6b1..32d080b 100644 --- a/src/taskbar/taskbar.c +++ b/src/taskbar/taskbar.c @@ -268,7 +268,7 @@ void resize_taskbar(void *obj) tsk = l->data; if (!tsk->area.on_screen) continue; tsk->area.posx = x; - if (tsk->area.width != pixel_width) set_task_redraw(tsk); + set_task_redraw(tsk); // always redraw task, because the background could have changed (taskbar_active_id) tsk->area.width = pixel_width; if (modulo_width) { tsk->area.width++; @@ -306,7 +306,7 @@ void resize_taskbar(void *obj) tsk = l->data; if (!tsk->area.on_screen) continue; tsk->area.posy = y; - if (tsk->area.height != pixel_height) set_task_redraw(tsk); + set_task_redraw(tsk); // always redraw task, because the background could have changed (taskbar_active_id) tsk->area.height = pixel_height; if (modulo_height) { tsk->area.height++;