summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorVirgil Dupras <hsoft@hardcoded.net>2017-05-01 20:34:53 -0400
committerDaniel Carl <danielcarl@gmx.de>2017-05-07 01:31:56 +0200
commit81f543df5763f8efbfe7a20ad02fc1db8a9d61e4 (patch)
tree0fa1667e2dd80223509ebeff38b4d736634ff6f7 /src/normal.c
parent8da5f2aaa7a151cebd15db8a8834e12834b1814a (diff)
Make hints wotk in "new window" mode
The old "set target to _blank" trick doesn't work anymore since the whole "noopener" vulnerability thing (https://mathiasbynens.github.io/rel-noopener/) I couldn't find a workaround. We're unfortunately now limited in the kind of elements we can interact with in "new window" mode.
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 156ef52..73c9a3a 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -621,7 +621,7 @@ static VbResult normal_pass(Client *c, const NormalCmdInfo *info)
static VbResult normal_prevnext(Client *c, const NormalCmdInfo *info)
{
-#if 0 /* TODO need hinting to be available */
+#if 0 /* TODO implement outside of hints.js */
int count = info->count ? info->count : 1;
if (info->key2 == ']') {
hints_follow_link(FALSE, count);