mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Detect URL when clicking to activate URL
Makes the case where the screen contents have changed between the last mouse move and the click work. See #1203
This commit is contained in:
parent
460c353898
commit
c17c801a31
1 changed files with 1 additions and 0 deletions
|
|
@ -364,6 +364,7 @@ HANDLER(add_click) {
|
|||
static inline void
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue