summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-04-16 00:53:33 +0200
committerOle Loots <ole@monochrom.net>2013-04-16 00:53:33 +0200
commitf9e950ba8fda2614464dc8111b38a11b48fe4816 (patch)
tree5cd5806ffeb69f633195c19bad5bcb00052710b4
parent1bc49bc914e3ddd253fa492cff24d53b42431adf (diff)
downloadnetsurf-f9e950ba8fda2614464dc8111b38a11b48fe4816.tar.gz
netsurf-f9e950ba8fda2614464dc8111b38a11b48fe4816.tar.bz2
Remove resize/format kludge.
-rwxr-xr-xatari/rootwin.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/atari/rootwin.c b/atari/rootwin.c
index 4b66510bc..28e327176 100755
--- a/atari/rootwin.c
+++ b/atari/rootwin.c
@@ -408,8 +408,6 @@ void window_open(ROOTWIN *rootwin, struct gui_window *gw, GRECT pos)
window_update_back_forward(rootwin);
window_set_focus(rootwin, BROWSER, rootwin->active_gui_window->browser);
-
-
}
void window_restore_active_gui_window(ROOTWIN *rootwin)
@@ -838,13 +836,6 @@ static void window_redraw_content(ROOTWIN *rootwin, GRECT *content_area,
struct rect redraw_area;
GRECT content_area_rel;
- if(bw->window->browser->reformat_pending) {
- browser_window_reformat(bw, true, content_area->g_w,
- content_area->g_h);
- bw->window->browser->reformat_pending = false;
- //return;
- }
-
//dbg_grect("browser redraw, content area", content_area);
//dbg_grect("browser redraw, content clip", clip);
@@ -1438,11 +1429,7 @@ static void on_resized(ROOTWIN *rootwin)
toolbar_set_width(rootwin->toolbar, work.g_w);
if ( gw->browser->bw->current_content != NULL ) {
- /* Reformat will happen when redraw is processed: */
- // TODO: call reformat directly, this was introduced because
- // of bad AES knowledge, it's ok to call it directly here...
- //printf("reformat......\n");
- rootwin->active_gui_window->browser->reformat_pending = true;
+ browser_window_reformat(gw->browser->bw, true, work.g_w, work.g_h);
}
}
if (rootwin->loc.g_x != g.g_x || rootwin->loc.g_y != g.g_y) {