summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-20 16:19:24 +0100
committerQuentin Rameau <quinq@fifth.space>2015-11-20 16:27:02 +0100
commit2d1e42236890b7495c0a9c4bce66420f937da559 (patch)
tree3940036b890777dc5aa1994c1fb26fb736a6be8b /config.def.h
parent82abf5154f0ab94716223f556638f073f01dbc11 (diff)
downloadsurf-2d1e42236890b7495c0a9c4bce66420f937da559.tar.gz
surf-2d1e42236890b7495c0a9c4bce66420f937da559.tar.bz2
surf-2d1e42236890b7495c0a9c4bce66420f937da559.zip
Rename mouse functions to clickFUNCTION()
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index c7b0cca..a1baced 100644
--- a/config.def.h
+++ b/config.def.h
@@ -136,9 +136,9 @@ static Key keys[] = {
/* target can be OnDoc, OnLink, OnImg, OnMedia, OnEdit, OnBar, OnSel, OnAny */
static Button buttons[] = {
/* target event mask button function argument stop event */
- { OnLink, 0, 2, linkopenembed, { 0 }, 1 },
- { OnLink, MODKEY, 2, linkopen, { 0 }, 1 },
- { OnLink, MODKEY, 1, linkopen, { 0 }, 1 },
- { OnAny, 0, 8, navigate, { .i = -1 }, 1 },
- { OnAny, 0, 9, navigate, { .i = +1 }, 1 },
+ { OnLink, 0, 2, clicknewwindow, { .b = 0 }, 1 },
+ { OnLink, MODKEY, 2, clicknewwindow, { .b = 1 }, 1 },
+ { OnLink, MODKEY, 1, clicknewwindow, { .b = 1 }, 1 },
+ { OnAny, 0, 8, clicknavigate, { .i = -1 }, 1 },
+ { OnAny, 0, 9, clicknavigate, { .i = +1 }, 1 },
};