diff options
author | Drew DeVault <[email protected]> | 2015-12-12 12:28:56 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-12-12 12:28:56 -0500 |
commit | 19fd979af495d2ef75efaaad8962da761e4db530 (patch) | |
tree | 4918aa7da708704bf8ded897b82b02d43db408d8 /sway/config.c | |
parent | bffbe11e530fa37f2421e94463bc2ec4516ba394 (diff) | |
parent | f28a1d9183a90284329e6c048ba7785313a5a50f (diff) |
Merge pull request #300 from mikkeloscar/configure-mouse-btn
[RFC] Make mouse key used for drag/resize configurable
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 7e3c3149..6c22556f 100644 --- a/sway/config.c +++ b/sway/config.c @@ -101,6 +101,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 |