aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-04-11 21:29:27 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-04-11 21:29:27 -0500
commitedf90816b1437d2a6de3f38db7560731cf38a75c (patch)
tree9891588eaaf31d3c6181d9d9287f9150c91456ec /config.h
parentbbe24fa8d43debd8646f0a9294e7a89414dee8ac (diff)
implement Button: movemouse, resizemouse
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h b/config.h
index 9594864..f0545c1 100644
--- a/config.h
+++ b/config.h
@@ -12,3 +12,8 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_Escape, quit, {0} },
{ MODKEY, XKB_KEY_F1, focusnext, {0} },
};
+
+static const Button buttons[] = {
+ { MODKEY, BTN_LEFT, movemouse, {0} },
+ { MODKEY, BTN_RIGHT, resizemouse, {0} },
+};