diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 59c5b4c7..2a4be18c 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -135,6 +135,11 @@ struct sway_container { | |||
135 | 135 | ||
136 | struct sway_container *parent; | 136 | struct sway_container *parent; |
137 | 137 | ||
138 | // Indicates that the container is a scratchpad container. | ||
139 | // Both hidden and visible scratchpad containers have scratchpad=true. | ||
140 | // Hidden scratchpad containers have a NULL parent. | ||
141 | bool scratchpad; | ||
142 | |||
138 | float alpha; | 143 | float alpha; |
139 | 144 | ||
140 | struct wlr_texture *title_focused; | 145 | struct wlr_texture *title_focused; |