Make SimpleRefresh the default.

This reduces memory use.
This commit is contained in:
Chris Young 2019-05-12 16:43:01 +01:00
parent f139c4fa4d
commit a5e4bf8220
2 changed files with 2 additions and 2 deletions

View File

@ -5674,7 +5674,7 @@ HOOKF(uint32, ami_gui_browser_render_hook, APTR, space, struct gpRender *)
{
struct gui_window_2 *gwin = hook->h_Data;
NSLOG(netsurf, DEBUG, "Render hook called with %d (REDRAW=1)", msg->gpr_Redraw);
NSLOG(netsurf, DEBUG, "Render hook called with %ld (REDRAW=1)", msg->gpr_Redraw);
if(msg->gpr_Redraw != GREDRAW_REDRAW) return 0;

View File

@ -80,7 +80,7 @@ NSOPTION_INTEGER(cookies_window_ypos, 0)
NSOPTION_INTEGER(cookies_window_xsize, 0)
NSOPTION_INTEGER(cookies_window_ysize, 0)
NSOPTION_INTEGER(web_search_width, 0)
NSOPTION_BOOL(window_simple_refresh, false)
NSOPTION_BOOL(window_simple_refresh, true)
NSOPTION_BOOL(resize_with_contents, false)
NSOPTION_INTEGER(reformat_delay, 0)
NSOPTION_INTEGER(redraw_tile_size_x, 0)