diff options
author | Quentin Rameau <quinq@fifth.space> | 2015-11-19 13:19:27 +0100 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2015-11-20 00:34:21 +0100 |
commit | f6a35e5fbfb4a5e9f92a126dae0cca103727d9d4 (patch) | |
tree | ea3b81065c467a292e06211070683fb75f60b0dd /config.def.h | |
parent | 96188f83f0f77f93fc5f4590c1f1c8f13b78e599 (diff) | |
download | surf-f6a35e5fbfb4a5e9f92a126dae0cca103727d9d4.tar.gz surf-f6a35e5fbfb4a5e9f92a126dae0cca103727d9d4.tar.bz2 surf-f6a35e5fbfb4a5e9f92a126dae0cca103727d9d4.zip |
Adapted buttonrelease()
Use the current hit test (c->mousepos) to determine where the mouse
pointer is.
It is possible to link an action to a click and still propagate the
event after that by setting the “stop event” parameter of a Button to 0.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index a274b1e..2b3bb27 100644 --- a/config.def.h +++ b/config.def.h @@ -129,9 +129,9 @@ static Key keys[] = { }; /* button definitions */ -/* where can be OnDoc, OnLink, OnImg, OnMedia, OnEdit, OnBar, OnSel, OnAny */ +/* target can be OnDoc, OnLink, OnImg, OnMedia, OnEdit, OnBar, OnSel, OnAny */ static Button buttons[] = { - /* where event mask button function argument stop event */ + /* 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 }, |