aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-11 11:39:24 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-11 18:04:27 +0100
commit22916e9ebc130dbd365e6403730b9e0857977b8e (patch)
tree55c1c7b5022cb1d30b08827e9b286d2e830db9cf /include
parenta7710c5537cb005acaeb2afe9a53bafa3e022817 (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 'include')
-rw-r--r--include/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 81d4cd20..4019f479 100644
--- a/include/config.h
+++ b/include/config.h
@@ -109,6 +109,8 @@ struct sway_config {
struct sway_mode *current_mode;
struct bar_config bar;
uint32_t floating_mod;
+ uint32_t dragging_key;
+ uint32_t resizing_key;
enum swayc_layouts default_orientation;
enum swayc_layouts default_layout;