summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorLuXu <oliver_lew@outlook.com>2021-10-27 05:00:46 +0200
committerNRK <nrk@disroot.org>2021-10-27 05:02:07 +0200
commit57754572bc20769575b888565dc192c9d6e14f05 (patch)
tree30b655219d372924b1820a1733401278b49d9944 /config.def.h
parent1f01c670c5fac1829e46ed8bc6b033e3680e645f (diff)
downloadnsxiv-57754572bc20769575b888565dc192c9d6e14f05.tar.zst
Add default key-binding for DRAG_RELATIVE (#117)
Ctrl-Button1 now has a relative drag using the XC_fleur cursor. XC_fleur is normally the cursor for "size all" action, which has 4 arrows pointing to 4 directions. Co-authored-by: NRK <nrk@disroot.org>
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 39135ff..1085a39 100644
--- a/config.def.h
+++ b/config.def.h
@@ -158,6 +158,7 @@ static const keymap_t keys[] = {
static const button_t buttons[] = {
/* modifiers button function argument */
{ 0, 1, i_cursor_navigate, None },
+ { ControlMask, 1, i_drag, DRAG_RELATIVE },
{ 0, 2, i_drag, DRAG_ABSOLUTE },
{ 0, 3, g_switch_mode, None },
{ 0, 4, g_zoom, +1 },