mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Dont discard information on whether a click hit a URL
This commit is contained in:
parent
606ce4e66f
commit
bc202aec6e
5 changed files with 16 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue