diff options
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r-- | framebuffer/gui.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 251326dc2..2a691f7f6 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -564,10 +564,6 @@ static void framebuffer_poll(bool active) /* run the scheduler and discover how long to wait for the next event */ timeout = schedule_run(); - /* if active do not wait for event, return immediately */ - if (active) - timeout = 0; - /* if redraws are pending do not wait for event, return immediately */ if (fbtk_get_redraw_pending(fbtk)) timeout = 0; @@ -1762,6 +1758,15 @@ gui_window_remove_caret(struct gui_window *g) } } +static void framebuffer_window_reformat(struct gui_window *gw) +{ + /** @todo if we ever do zooming reformat should be implemented */ + LOG(("window:%p", gw)); + + /* + browser_window_reformat(gw->bw, false, width, height); + */ +} static struct gui_window_table framebuffer_window_table = { .create = gui_window_create, @@ -1772,6 +1777,7 @@ static struct gui_window_table framebuffer_window_table = { .set_scroll = gui_window_set_scroll, .get_dimensions = gui_window_get_dimensions, .update_extent = gui_window_update_extent, + .reformat = framebuffer_window_reformat, .set_url = gui_window_set_url, .set_status = gui_window_set_status, |