diff options
author | Quentin Rameau <quinq@fifth.space> | 2015-11-18 17:53:33 +0100 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2015-11-20 00:34:20 +0100 |
commit | b9530ad5d1cd29e176c9f16b92f1983993b22049 (patch) | |
tree | ca1bf3adff5bb71f1898d8f7d1685c806e67db4b /surf.c | |
parent | 60f574e4b7e27b321443a38343056ba04287d8e2 (diff) | |
download | surf-b9530ad5d1cd29e176c9f16b92f1983993b22049.tar.gz surf-b9530ad5d1cd29e176c9f16b92f1983993b22049.tar.bz2 surf-b9530ad5d1cd29e176c9f16b92f1983993b22049.zip |
Modify the context name of the hit tests
These relate more to the position of the pointer when an event occurs.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -35,14 +35,16 @@ char *argv0; #define CLEANMASK(mask) (mask & (MODKEY|GDK_SHIFT_MASK)) enum { AtomFind, AtomGo, AtomUri, AtomLast }; + enum { - ClkDoc = WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT, - ClkLink = WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK, - ClkImg = WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE, - ClkMedia = WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA, - ClkSel = WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION, - ClkEdit = WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE, - ClkAny = ClkDoc | ClkLink | ClkImg | ClkMedia | ClkSel | ClkEdit, + OnDoc = WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT, + OnLink = WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK, + OnImg = WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE, + OnMedia = WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA, + OnEdit = WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE, + OnBar = WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR, + OnSel = WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION, + OnAny = OnDoc | OnLink | OnImg | OnMedia | OnEdit | OnBar | OnSel, }; typedef union Arg Arg; |