diff --git a/WINGs/wlist.c b/WINGs/wlist.c index 23f5606a..7c3880ca 100644 --- a/WINGs/wlist.c +++ b/WINGs/wlist.c @@ -1150,7 +1150,7 @@ handleActionEvents(XEvent *event, void *data) case MotionNotify: #ifdef behavior2 height = WMWidgetHeight(lPtr); - if (lPtr->selectID && event->xmotion.y>=0 && event->xmotion.y<=height) { + if (lPtr->selectID && event->xmotion.y>0 && event->xmotion.yselectID); lPtr->selectID = NULL; }