diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 23:41:33 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 23:41:33 -0400 |
commit | dc8c9fbeb664518c76066cc28ee29452c6c30128 (patch) | |
tree | 88c2de0d08e00b2a30cb20cdfadfa6e53f5c59b4 /include/sway/config.h | |
parent | Merge pull request #1653 from swaywm/revert-1647-refactor-tree (diff) | |
download | sway-dc8c9fbeb664518c76066cc28ee29452c6c30128.tar.gz sway-dc8c9fbeb664518c76066cc28ee29452c6c30128.tar.zst sway-dc8c9fbeb664518c76066cc28ee29452c6c30128.zip |
Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing
changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 48a8b0ab..7fdd0be0 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -10,8 +10,8 @@ | |||
10 | #include <xkbcommon/xkbcommon.h> | 10 | #include <xkbcommon/xkbcommon.h> |
11 | #include <time.h> | 11 | #include <time.h> |
12 | #include "list.h" | 12 | #include "list.h" |
13 | #include "layout.h" | 13 | #include "tree/layout.h" |
14 | #include "container.h" | 14 | #include "tree/container.h" |
15 | 15 | ||
16 | /** | 16 | /** |
17 | * Describes a variable created via the `set` command. | 17 | * Describes a variable created via the `set` command. |
@@ -299,8 +299,8 @@ struct sway_config { | |||
299 | char *floating_scroll_down_cmd; | 299 | char *floating_scroll_down_cmd; |
300 | char *floating_scroll_left_cmd; | 300 | char *floating_scroll_left_cmd; |
301 | char *floating_scroll_right_cmd; | 301 | char *floating_scroll_right_cmd; |
302 | enum swayc_layouts default_orientation; | 302 | enum sway_container_layout default_orientation; |
303 | enum swayc_layouts default_layout; | 303 | enum sway_container_layout default_layout; |
304 | char *font; | 304 | char *font; |
305 | int font_height; | 305 | int font_height; |
306 | 306 | ||
@@ -324,8 +324,8 @@ struct sway_config { | |||
324 | list_t *config_chain; | 324 | list_t *config_chain; |
325 | const char *current_config; | 325 | const char *current_config; |
326 | 326 | ||
327 | enum swayc_border_types border; | 327 | enum sway_container_border border; |
328 | enum swayc_border_types floating_border; | 328 | enum sway_container_border floating_border; |
329 | int border_thickness; | 329 | int border_thickness; |
330 | int floating_border_thickness; | 330 | int floating_border_thickness; |
331 | enum edge_border_types hide_edge_borders; | 331 | enum edge_border_types hide_edge_borders; |
@@ -356,7 +356,7 @@ struct sway_config { | |||
356 | struct input_config *input_config; | 356 | struct input_config *input_config; |
357 | struct seat_config *seat_config; | 357 | struct seat_config *seat_config; |
358 | struct sway_seat *seat; | 358 | struct sway_seat *seat; |
359 | swayc_t *current_container; | 359 | struct sway_container *current_container; |
360 | } handler_context; | 360 | } handler_context; |
361 | }; | 361 | }; |
362 | 362 | ||
@@ -416,7 +416,8 @@ void output_get_identifier(char *identifier, size_t len, | |||
416 | struct sway_output *output); | 416 | struct sway_output *output); |
417 | struct output_config *new_output_config(const char *name); | 417 | struct output_config *new_output_config(const char *name); |
418 | void merge_output_config(struct output_config *dst, struct output_config *src); | 418 | void merge_output_config(struct output_config *dst, struct output_config *src); |
419 | void apply_output_config(struct output_config *oc, swayc_t *output); | 419 | void apply_output_config(struct output_config *oc, |
420 | struct sway_container *output); | ||
420 | void free_output_config(struct output_config *oc); | 421 | void free_output_config(struct output_config *oc); |
421 | 422 | ||
422 | /** | 423 | /** |