rem: if (focus >= 0) {
add: if (focus >= 0 && panel->current != focus) {
context: WWindow *wSwitchPanelHandleEvent(WSwitchPanel *panel, XEvent *event){    WMLabel *label;    int i;        if (!panel->win)      return NULL;    if (event->type == MotionNotify) {        int focus= -1;        WM_ITERATE_ARRAY(panel->icons, label, i) {            if (WMWidgetXID(label) == event->xmotion.window) {                focus= i;                break;            }        }        if (focus >= 0) {            WWindow *wwin;                        changeImage(panel, panel->current, 0);            changeImage(panel, focus, 1);            panel->current= focus;                        wwin= WMGetFromArray(panel->windows, focus);                        WMSetLabelText(panel->label, wwin->frame->title);                        return wwin;        }    }    return NULL;}