aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 23:41:33 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 23:41:33 -0400
commitdc8c9fbeb664518c76066cc28ee29452c6c30128 (patch)
tree88c2de0d08e00b2a30cb20cdfadfa6e53f5c59b4 /include/sway/config.h
parentMerge pull request #1653 from swaywm/revert-1647-refactor-tree (diff)
downloadsway-dc8c9fbeb664518c76066cc28ee29452c6c30128.tar.gz
sway-dc8c9fbeb664518c76066cc28ee29452c6c30128.tar.zst
sway-dc8c9fbeb664518c76066cc28ee29452c6c30128.zip
Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h17
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);
417struct output_config *new_output_config(const char *name); 417struct output_config *new_output_config(const char *name);
418void merge_output_config(struct output_config *dst, struct output_config *src); 418void merge_output_config(struct output_config *dst, struct output_config *src);
419void apply_output_config(struct output_config *oc, swayc_t *output); 419void apply_output_config(struct output_config *oc,
420 struct sway_container *output);
420void free_output_config(struct output_config *oc); 421void free_output_config(struct output_config *oc);
421 422
422/** 423/**