Lines Matching defs:px
447 screen_check_selection(struct screen *s, u_int px, u_int py)
477 if (px < sel->ex)
480 if (px > sel->sx)
484 if (px < sel->sx)
487 if (px > sel->ex)
500 if (py == sel->sy && px < sel->sx)
507 if (py == sel->ey && px > xx)
514 if (py == sel->ey && px < sel->ex)
521 if (py == sel->sy && (sel->sx == 0 || px > xx))
534 if (px > xx || px < sel->ex)
542 if (px < sel->sx || px > xx)