// 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);
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++;
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++;