diff options
author | Quentin Rameau <quinq@fifth.space> | 2021-04-30 08:48:19 +0200 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2021-04-30 08:48:19 +0200 |
commit | 4540b4a97cb8cbabf7d4f64b625836b84718e230 (patch) | |
tree | 086b3af659f47e09cb430633a7027dfca73f14f4 | |
parent | Remove external plugin handling (diff) | |
download | surf-4540b4a97cb8cbabf7d4f64b625836b84718e230.tar.gz surf-4540b4a97cb8cbabf7d4f64b625836b84718e230.tar.bz2 surf-4540b4a97cb8cbabf7d4f64b625836b84718e230.zip |
Remove accelerated canvas parameter
This has been deprecated since release 2.32.
-rw-r--r-- | config.def.h | 1 | ||||
-rw-r--r-- | surf.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h index 96e1009..ef44721 100644 --- 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 index 5d7b2c4..af0fa74 100644 --- 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, |