diff options
author | Mikkel Oscar Lyderik <[email protected]> | 2015-12-11 11:39:24 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <[email protected]> | 2015-12-11 18:04:27 +0100 |
commit | 22916e9ebc130dbd365e6403730b9e0857977b8e (patch) | |
tree | 55c1c7b5022cb1d30b08827e9b286d2e830db9cf /sway/config.c | |
parent | a7710c5537cb005acaeb2afe9a53bafa3e022817 (diff) |
Make mouse key used for drag/resize configurable
This makes it possible to define what mouse button key (left|right) to
use for dragging/resizing.
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 6a1d172b..d5a3f781 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 |