mirror of
https://github.com/tmux/tmux.git
synced 2026-01-11 16:30:22 +00:00
Cleanup and simplification. Array of visual ranges now just simple array.
This commit is contained in:
@@ -670,14 +670,6 @@ server_client_check_mouse_in_pane(struct window_pane *wp, u_int px, u_int py,
|
||||
break;
|
||||
}
|
||||
}
|
||||
/*
|
||||
if ((((sb_pos == PANE_SCROLLBARS_RIGHT && fwp->xoff + fwp->sx + sb_pad + sb_w == px) ||
|
||||
(sb_pos == PANE_SCROLLBARS_LEFT && fwp->xoff + fwp->sx == px)) &&
|
||||
fwp->yoff <= 1 + py && fwp->yoff + fwp->sy >= py) ||
|
||||
(fwp->yoff + fwp->sy == py &&
|
||||
fwp->xoff <= 1 + px && fwp->xoff + fwp->sx >= px))
|
||||
break;
|
||||
*/
|
||||
}
|
||||
if (fwp != NULL)
|
||||
return (BORDER);
|
||||
|
||||
Reference in New Issue
Block a user