diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 1 | ||||
-rw-r--r-- | desktop/gui.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 9aeaeaddd..075df260b 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -220,6 +220,7 @@ void browser_window_callback(content_msg msg, struct content *c, bw->current_content = c; bw->loading_content = 0; bw->caret_callback = 0; + gui_window_new_content(bw->window); gui_window_set_url(bw->window, c->url); browser_window_update(bw, true); browser_window_set_status(bw, c->status_message); diff --git a/desktop/gui.h b/desktop/gui.h index 553962ae9..84ee43cb9 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -65,4 +65,6 @@ void gui_window_place_caret(gui_window *g, int x, int y, int height); void gui_launch_url(const char *url); +void gui_window_new_content(gui_window *g); + #endif |