Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12655
This commit is contained in:
parent
42467f16dd
commit
1bcfb7500b
|
@ -179,8 +179,6 @@ static gboolean nsgtk_window_expose_event(GtkWidget *widget,
|
||||||
current_cr = gdk_cairo_create(current_drawable);
|
current_cr = gdk_cairo_create(current_drawable);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
current_redraw_browser = g->bw;
|
|
||||||
|
|
||||||
clip.x0 = event->area.x;
|
clip.x0 = event->area.x;
|
||||||
clip.y0 = event->area.y;
|
clip.y0 = event->area.y;
|
||||||
clip.x1 = event->area.x + event->area.width;
|
clip.x1 = event->area.x + event->area.width;
|
||||||
|
@ -188,8 +186,6 @@ static gboolean nsgtk_window_expose_event(GtkWidget *widget,
|
||||||
|
|
||||||
browser_window_redraw(g->bw, 0, 0, &clip, &ctx);
|
browser_window_redraw(g->bw, 0, 0, &clip, &ctx);
|
||||||
|
|
||||||
current_redraw_browser = NULL;
|
|
||||||
|
|
||||||
if (g->careth != 0)
|
if (g->careth != 0)
|
||||||
nsgtk_plot_caret(g->caretx, g->carety, g->careth);
|
nsgtk_plot_caret(g->caretx, g->carety, g->careth);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue