Introduction
Introduction Statistics Contact Development Disclaimer Help
Update get frame name function - surf - surf browser, a WebKit based browser
git clone git://git.suckless.org/surf
Log
Files
Refs
README
LICENSE
---
commit 7513a622e3d0d0fd2cc1a372dd1fd8b087922691
parent 4bab57968dfd889c2f89309c6bf0fe9690946682
Author: Quentin Rameau <[email protected]>
Date: Sun, 17 Mar 2024 07:48:56 +0100
Update get frame name function
webkit_navigation_policy_decision_get_frame_name has been deprecated
since 2.40.
Diffstat:
M surf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/surf.c b/surf.c
@@ -1664,8 +1664,7 @@ decidenavigation(WebKitPolicyDecision *d, Client *c)
case WEBKIT_NAVIGATION_TYPE_OTHER: /* fallthrough */
default:
/* Do not navigate to links with a "_blank" target (popup) */
- if (webkit_navigation_policy_decision_get_frame_name(
- WEBKIT_NAVIGATION_POLICY_DECISION(d))) {
+ if (webkit_navigation_action_get_frame_name(a)) {
webkit_policy_decision_ignore(d);
} else {
/* Filter out navigation to different domain ? */
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.