summaryrefslogtreecommitdiffstats
path: root/include/sway/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/container.h')
-rw-r--r--include/sway/container.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h
index 215c0b07..67b747a0 100644
--- a/include/sway/container.h
+++ b/include/sway/container.h
@@ -2,6 +2,7 @@
2#define _SWAY_CONTAINER_H 2#define _SWAY_CONTAINER_H
3#include <sys/types.h> 3#include <sys/types.h>
4#include <wlc/wlc.h> 4#include <wlc/wlc.h>
5#include <stdint.h>
5 6
6#include "list.h" 7#include "list.h"
7 8
@@ -58,6 +59,12 @@ struct sway_container {
58 */ 59 */
59 wlc_handle handle; 60 wlc_handle handle;
60 61
62 /**
63 * A unique ID to identify this container. Primarily used in the
64 * get_tree JSON output.
65 */
66 size_t id;
67
61 enum swayc_types type; 68 enum swayc_types type;
62 enum swayc_layouts layout; 69 enum swayc_layouts layout;
63 enum swayc_layouts prev_layout; 70 enum swayc_layouts prev_layout;