version 1.24, 2021/06/10 07:22:06 |
version 1.25, 2021/07/08 11:14:53 |
|
|
format_add(ft, "popup_mouse_centre_y", "%ld", n); |
format_add(ft, "popup_mouse_centre_y", "%ld", n); |
n = (long)event->m.y + h; |
n = (long)event->m.y + h; |
if (n + h >= tty->sy) |
if (n + h >= tty->sy) |
format_add(ft, "popup_mouse_top", "%u", tty->sy - h); |
format_add(ft, "popup_mouse_top", "%u", tty->sy - 1); |
else |
else |
format_add(ft, "popup_mouse_top", "%ld", n); |
format_add(ft, "popup_mouse_top", "%ld", n); |
n = event->m.y - h; |
n = event->m.y - h; |