mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
[project @ 2004-03-09 23:57:40 by bursa]
Set caret in new window url line. svn path=/import/netsurf/; revision=596
This commit is contained in:
parent
b5ba716f15
commit
b56bc523b8
@ -59,6 +59,7 @@ gui_window *gui_create_browser_window(struct browser_window *bw)
|
||||
wimp_window window;
|
||||
wimp_window_state state;
|
||||
wimp_outline outline;
|
||||
os_error *error;
|
||||
|
||||
gui_window* g = (gui_window*) xcalloc(1, sizeof(gui_window));
|
||||
g->type = GUI_BROWSER_WINDOW;
|
||||
@ -158,6 +159,12 @@ gui_window *gui_create_browser_window(struct browser_window *bw)
|
||||
wimp_CHILD_LINKS_PARENT_VISIBLE_TOP_OR_RIGHT
|
||||
<< wimp_CHILD_TS_EDGE_SHIFT);
|
||||
|
||||
error = xwimp_set_caret_position(g->data.browser.toolbar,
|
||||
ICON_TOOLBAR_URL, -1, -1, -1, 0);
|
||||
if (error)
|
||||
LOG(("xwimp_set_caret_position: 0x%x: %s",
|
||||
error->errnum, error->errmess));
|
||||
|
||||
return g;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user