Dont discard information on whether a click hit a URL

This commit is contained in:
Kovid Goyal
2021-08-18 10:06:07 +05:30
parent 606ce4e66f
commit bc202aec6e
5 changed files with 16 additions and 8 deletions
+2 -2
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 {