summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-05 11:44:11 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-05 11:44:11 +0000
commit1bb727a68b5f47142945b9547e5e6bae6e303bd8 (patch)
tree310ebd8008d7e99dedbbfa06735acc0123e2692e /riscos
parent01b2101e93ce2e7e5ab20c6dda817d388fd6298c (diff)
downloadnetsurf-1bb727a68b5f47142945b9547e5e6bae6e303bd8.tar.gz
netsurf-1bb727a68b5f47142945b9547e5e6bae6e303bd8.tar.bz2
Remove various bits of dead frames handling.
svn path=/trunk/netsurf/; revision=12733
Diffstat (limited to 'riscos')
-rw-r--r--riscos/window.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 7530fa0f0..251dea155 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -656,10 +656,6 @@ void gui_window_set_title(struct gui_window *g, const char *title)
} else {
strncpy(g->title, title, sizeof g->title);
}
-
- /* only top-level parents have titlebars */
- if (!g->bw->parent)
- ro_gui_set_window_title(g->window, g->title);
}
@@ -965,8 +961,6 @@ void gui_window_update_extent(struct gui_window *g)
}
if (flags == (state.flags & (wimp_WINDOW_HSCROLL | wimp_WINDOW_VSCROLL)))
g->bw->reformat_pending = update;
- if ((scroll != 0) && (g->bw->children))
- browser_window_recalculate_frameset(g->bw);
}
@@ -1696,7 +1690,6 @@ void ro_gui_window_open(wimp_open *open)
if ((h) && (g->old_width != width || g->old_height != height)) {
/* Ctrl-resize of a top-level window scales the content size */
if ((g->old_width > 0) && (g->old_width != width) &&
- (!g->bw->parent) &&
(ro_gui_ctrl_pressed()))
new_scale = (g->bw->scale * width) / g->old_width;
g->bw->reformat_pending = true;
@@ -4254,9 +4247,7 @@ void ro_gui_window_quit(void)
cur = window_list;
window_list = window_list->next;
- /* framesets and iframes are destroyed by their parents */
- if (!cur->bw->parent)
- browser_window_destroy(cur->bw);
+ browser_window_destroy(cur->bw);
}
}