diff options
Diffstat (limited to 'include/sway/container.h')
-rw-r--r-- | include/sway/container.h | 7 |
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 @@ #define _SWAY_CONTAINER_H #include <sys/types.h> #include <wlc/wlc.h> +#include <stdint.h> #include "list.h" @@ -58,6 +59,12 @@ struct sway_container { */ wlc_handle handle; + /** + * A unique ID to identify this container. Primarily used in the + * get_tree JSON output. + */ + size_t id; + enum swayc_types type; enum swayc_layouts layout; enum swayc_layouts prev_layout; |