diff options
Diffstat (limited to 'desktop/frames.c')
-rw-r--r-- | desktop/frames.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop/frames.c b/desktop/frames.c index afcd84e01..f1710437f 100644 --- a/desktop/frames.c +++ b/desktop/frames.c @@ -201,7 +201,7 @@ void browser_window_create_iframes(struct browser_window *bw, window->no_resize = true; window->margin_width = cur->margin_width; window->margin_height = cur->margin_height; - window->sel = bw->sel; + window->cur_sel = bw->cur_sel; window->scale = bw->scale; if (cur->name) { window->name = strdup(cur->name); @@ -315,9 +315,8 @@ void browser_window_create_frameset(struct browser_window *bw, warn_user("NoMemory", 0); } - /* TODO: when framesets are handled in the core, remove - * the following line. */ - window->sel = selection_create(); + /* TODO: When frames are handled in core: + * window->cur_sel = bw->cur_sel; */ /* linking */ window->parent = bw; |