From 6ef95d13cf1f6313b67cf63acdb7fc07ac02cb2b Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 24 Mar 2019 00:53:47 +0100 Subject: Prevent opening links into new window #544. Added setting 'prevent-newwindow' to enforce opening links into same window even if they are crafted by `target="_blank"` or using `window.open()`. This option does not change the behaviour for links fired by hinting. --- src/main.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 61478ae..767efb2 100644 --- a/src/main.h +++ b/src/main.h @@ -235,6 +235,7 @@ struct Client { guint scrollstep; gboolean input_autohide; gboolean incsearch; + gboolean prevent_newwindow; guint default_zoom; /* default zoom level in percent */ Shortcut *shortcuts; } config; -- cgit v1.2.3