surf

Mahdi's build of surf
git clone git://mahdi.pw/surf.git
Log | Files | Refs | README | LICENSE

commit 4540b4a97cb8cbabf7d4f64b625836b84718e230
parent fce76429b8f8ed48116557df3a478bc435145d94
Author: Quentin Rameau <quinq@fifth.space>
Date:   Fri, 30 Apr 2021 08:48:19 +0200

Remove accelerated canvas parameter

This has been deprecated since release 2.32.

Diffstat:
Mconfig.def.h | 1-
Msurf.c | 6------
2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -15,7 +15,6 @@ static char *cookiefile = "~/.surf/cookies.txt"; */ static Parameter defconfig[ParameterLast] = { /* parameter Arg value priority */ - [AcceleratedCanvas] = { { .i = 1 }, }, [AccessMicrophone] = { { .i = 0 }, }, [AccessWebcam] = { { .i = 0 }, }, [Certificate] = { { .i = 0 }, }, diff --git a/surf.c b/surf.c @@ -51,7 +51,6 @@ enum { }; typedef enum { - AcceleratedCanvas, AccessMicrophone, AccessWebcam, CaretBrowsing, @@ -272,7 +271,6 @@ static ParamName loadtransient[] = { }; static ParamName loadcommitted[] = { - AcceleratedCanvas, // AccessMicrophone, // AccessWebcam, CaretBrowsing, @@ -754,9 +752,6 @@ setparameter(Client *c, int refresh, ParamName p, const Arg *a) modparams[p] = curconfig[p].prio; switch (p) { - case AcceleratedCanvas: - webkit_settings_set_enable_accelerated_2d_canvas(s, a->i); - break; case AccessMicrophone: return; /* do nothing */ case AccessWebcam: @@ -1123,7 +1118,6 @@ newview(Client *c, WebKitWebView *rv) "enable-html5-local-storage", curconfig[DiskCache].val.i, "enable-java", curconfig[Java].val.i, "enable-javascript", curconfig[JavaScript].val.i, - "enable-accelerated-2d-canvas", curconfig[AcceleratedCanvas].val.i, "enable-site-specific-quirks", curconfig[SiteQuirks].val.i, "enable-smooth-scrolling", curconfig[SmoothScrolling].val.i, "enable-webgl", curconfig[WebGL].val.i,