Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-03-12 16:02:37 +00:00
4 changed files with 27 additions and 26 deletions

View File

@ -501,8 +501,8 @@ window_get_active_at(struct window *w, u_int x, u_int y)
struct window_pane *wp;
TAILQ_FOREACH(wp, &w->panes, entry) {
if (!window_pane_visible(wp))
continue;
if (!window_pane_visible(wp))
continue;
if (x < wp->xoff || x > wp->xoff + wp->sx)
continue;
if (y < wp->yoff || y > wp->yoff + wp->sy)