Dont discard information on whether a click hit a URL

This commit is contained in:
Kovid Goyal 2021-07-18 21:30:48 +05:30
parent 606ce4e66f
commit bc202aec6e
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
5 changed files with 16 additions and 8 deletions

View file

@ -403,11 +403,11 @@ add_press(Window *w, int button, int modifiers) {
}
#undef N
void
bool
mouse_open_url(Window *w) {
Screen *screen = w->render_data.screen;
detect_url(screen, w->mouse_pos.cell_x, w->mouse_pos.cell_y);
screen_open_url(screen);
return screen_open_url(screen);
}
typedef struct PendingClick {