diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2016-05-14 23:42:02 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2016-05-14 23:42:02 +0300 |
commit | e73dde3b1057c8248eb24b3c15c99f398472eeba (patch) | |
tree | 26292b5ece4da11f72f7b3b486d2dc5c83caa026 /sway/config.c | |
parent | Set Cairo and Pango as required dependencies (diff) | |
download | sway-e73dde3b1057c8248eb24b3c15c99f398472eeba.tar.gz sway-e73dde3b1057c8248eb24b3c15c99f398472eeba.tar.zst sway-e73dde3b1057c8248eb24b3c15c99f398472eeba.zip |
Support floating_scroll sideways
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 4 |
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) { | |||
133 | free(config->font); | 133 | free(config->font); |
134 | free(config->floating_scroll_up_cmd); | 134 | free(config->floating_scroll_up_cmd); |
135 | free(config->floating_scroll_down_cmd); | 135 | free(config->floating_scroll_down_cmd); |
136 | free(config->floating_scroll_left_cmd); | ||
137 | free(config->floating_scroll_right_cmd); | ||
136 | free(config); | 138 | free(config); |
137 | } | 139 | } |
138 | 140 | ||
@@ -163,6 +165,8 @@ static void config_defaults(struct sway_config *config) { | |||
163 | config->resizing_key = M_RIGHT_CLICK; | 165 | config->resizing_key = M_RIGHT_CLICK; |
164 | config->floating_scroll_up_cmd = strdup(""); | 166 | config->floating_scroll_up_cmd = strdup(""); |
165 | config->floating_scroll_down_cmd = strdup(""); | 167 | config->floating_scroll_down_cmd = strdup(""); |
168 | config->floating_scroll_left_cmd = strdup(""); | ||
169 | config->floating_scroll_right_cmd = strdup(""); | ||
166 | config->default_layout = L_NONE; | 170 | config->default_layout = L_NONE; |
167 | config->default_orientation = L_NONE; | 171 | config->default_orientation = L_NONE; |
168 | config->font = strdup("monospace 10"); | 172 | config->font = strdup("monospace 10"); |