aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-14 17:14:49 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-14 17:14:49 -0500
commit42a85431eec1472e18cf886e02a629cda46f8123 (patch)
tree1bd0b17ccd7f8465ec6dcd07fef2753383da06c6 /sway/config.c
parentfa0f57cd045ef13aff02a9c25bf0c46226f1b55b (diff)
parent82af08d8e9c6b3d1770f022ed0e38e79bba582ea (diff)
downloadsway-42a85431eec1472e18cf886e02a629cda46f8123.tar.xz
Merge pull request #320 from mikkeloscar/configure-mouse-btn2
Lookup dragging key when in dragging mode
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index bd3cf4e6..2a1f0310 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -115,6 +115,8 @@ static void config_defaults(struct sway_config *config) {
list_add(config->modes, config->current_mode);
config->floating_mod = 0;
+ config->dragging_key = M_LEFT_CLICK;
+ config->resizing_key = M_RIGHT_CLICK;
config->default_layout = L_NONE;
config->default_orientation = L_NONE;
// Flags