aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-05-14 23:42:02 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2016-05-14 23:42:02 +0300
commite73dde3b1057c8248eb24b3c15c99f398472eeba (patch)
tree26292b5ece4da11f72f7b3b486d2dc5c83caa026 /sway/config.c
parent2c9553a6fdfa7986fadeb3ac3883622a3c7aa8c5 (diff)
Support floating_scroll sideways
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 6c1d21c8..14b657ef 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -133,6 +133,8 @@ void free_config(struct sway_config *config) {
free(config->font);
free(config->floating_scroll_up_cmd);
free(config->floating_scroll_down_cmd);
+ free(config->floating_scroll_left_cmd);
+ free(config->floating_scroll_right_cmd);
free(config);
}
@@ -163,6 +165,8 @@ static void config_defaults(struct sway_config *config) {
config->resizing_key = M_RIGHT_CLICK;
config->floating_scroll_up_cmd = strdup("");
config->floating_scroll_down_cmd = strdup("");
+ config->floating_scroll_left_cmd = strdup("");
+ config->floating_scroll_right_cmd = strdup("");
config->default_layout = L_NONE;
config->default_orientation = L_NONE;
config->font = strdup("monospace 10");