summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2019-03-24 00:53:47 +0100
committerDaniel Carl <danielcarl@gmx.de>2019-03-24 00:57:34 +0100
commit6ef95d13cf1f6313b67cf63acdb7fc07ac02cb2b (patch)
tree7dbfb6c23797497e645b11c82ed20215af930338 /src/main.h
parentbae3e38219d4ee82dc1b6209645cbc14256a9f32 (diff)
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.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h1
1 files changed, 1 insertions, 0 deletions
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;