aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-10 15:26:49 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-10 15:26:49 -0400
commitc9bce5dd227686e9a03ac54dcfc2dc19c919edca (patch)
tree03362796768e30703d463febd494d7956b271cc3 /sway/layout.h
parent9c3a04b996649c0c578410e02181d8808b13c646 (diff)
parent88997bbfe65c20ff2bbc28f49ee2d84a79972d61 (diff)
Merge pull request #7 from Luminarys/master
Added in reload and exec_always handling.
Diffstat (limited to 'sway/layout.h')
-rw-r--r--sway/layout.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/sway/layout.h b/sway/layout.h
index b0aec42f..3a8f8902 100644
--- a/sway/layout.h
+++ b/sway/layout.h
@@ -5,38 +5,38 @@
#include "list.h"
struct sway_container {
- wlc_handle handle;
+ wlc_handle handle;
- enum {
- C_ROOT,
- C_OUTPUT,
- C_WORKSPACE,
- C_CONTAINER,
- C_VIEW
- } type;
+ enum {
+ C_ROOT,
+ C_OUTPUT,
+ C_WORKSPACE,
+ C_CONTAINER,
+ C_VIEW
+ } type;
- enum {
- L_NONE,
- L_HORIZ,
- L_VERT,
- L_STACKED,
- L_TABBED,
- L_FLOATING
- } layout;
+ enum {
+ L_NONE,
+ L_HORIZ,
+ L_VERT,
+ L_STACKED,
+ L_TABBED,
+ L_FLOATING
+ } layout;
- // Not including borders or margins
- int width, height;
+ // Not including borders or margins
+ int width, height;
- int x, y;
+ int x, y;
- int weight;
+ int weight;
- char *name;
+ char *name;
- list_t *children;
+ list_t *children;
- struct sway_container *parent;
- struct sway_container *focused;
+ struct sway_container *parent;
+ struct sway_container *focused;
};
typedef struct sway_container swayc_t;