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