rem: } else if (event->xbutton.x - BUTTONED_SIDE_OFFSET > tPtr->visibleTabs*(tPtr->tabWidth-10)) {
add: } else if (event->xbutton.x > positionOfTab(tPtr,lastVisible)){
context: handleEvents(XEvent *event, void *data){    TabView *tPtr = (TabView*)data;    CHECK_CLASS(data, WC_TabView);    switch (event->type) {     case Expose:	if (event->xexpose.count!=0)	    break;	paintTabView(tPtr);	break;     case ButtonPress:	{	    WMTabViewItem *item = WMTabViewItemAtPoint(tPtr,						       event->xbutton.x,						       event->xbutton.y);	    if (item) {		WMSelectTabViewItem(tPtr, item);	    } else if (tPtr->flags.dontFitAll) {		int redraw;		if (event->xbutton.x < BUTTONED_SIDE_OFFSET) {		    if (tPtr->firstVisible > 0) {			redraw = 1;			tPtr->firstVisible--;		    }		} else if (event->xbutton.x - BUTTONED_SIDE_OFFSET			   > tPtr->visibleTabs*(tPtr->tabWidth-10)) {		    if (tPtr->firstVisible + tPtr->visibleTabs			< tPtr->itemCount) {			redraw = 1;			tPtr->firstVisible++;		    }		}		if (redraw) {		    paintTabView(tPtr);		}	    }	}	break;     case DestroyNotify:	destroyTabView(tPtr);	break;    }}