Merge pull request #300 from mikkeloscar/configure-mouse-btn

[RFC] Make mouse key used for drag/resize configurable
This commit is contained in:
Drew DeVault 2015-12-12 12:28:56 -05:00
commit 19fd979af4
6 changed files with 100 additions and 24 deletions

View file

@ -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