mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 19:34:25 +03:00
[project @ 2004-07-18 00:12:18 by bursa]
Fix form text input bug. svn path=/import/netsurf/; revision=1095
This commit is contained in:
parent
f23fd2a094
commit
b09fdba4ed
@ -572,6 +572,7 @@ void browser_window_mouse_click_html(struct browser_window *bw,
|
||||
char *href = 0;
|
||||
char *title = 0;
|
||||
struct form_control *gadget = 0;
|
||||
struct box *gadget_box = 0;
|
||||
const char *status = 0;
|
||||
char status_buffer[200];
|
||||
gui_pointer_shape pointer = GUI_POINTER_DEFAULT;
|
||||
@ -598,6 +599,7 @@ void browser_window_mouse_click_html(struct browser_window *bw,
|
||||
gadget_content = content;
|
||||
base_url = content->data.html.base_url;
|
||||
gadget = box->gadget;
|
||||
gadget_box = box;
|
||||
}
|
||||
|
||||
if (box->title)
|
||||
@ -661,7 +663,7 @@ void browser_window_mouse_click_html(struct browser_window *bw,
|
||||
browser_window_textarea_click(bw,
|
||||
box_x, box_y,
|
||||
x - box_x, y - box_y,
|
||||
box);
|
||||
gadget_box);
|
||||
break;
|
||||
case GADGET_TEXTBOX:
|
||||
case GADGET_PASSWORD:
|
||||
@ -671,7 +673,7 @@ void browser_window_mouse_click_html(struct browser_window *bw,
|
||||
browser_window_input_click(bw,
|
||||
box_x, box_y,
|
||||
x - box_x, y - box_y,
|
||||
box);
|
||||
gadget_box);
|
||||
break;
|
||||
case GADGET_HIDDEN:
|
||||
/* not possible: no box generated */
|
||||
|
Loading…
x
Reference in New Issue
Block a user