diff options
Diffstat (limited to 'include/container.h')
-rw-r--r-- | include/container.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index 7560ddb8..3136e565 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -36,6 +36,9 @@ struct sway_container { | |||
36 | // Not including borders or margins | 36 | // Not including borders or margins |
37 | int width, height; | 37 | int width, height; |
38 | 38 | ||
39 | // Used for setting floating geometry | ||
40 | int desired_width, desired_height; | ||
41 | |||
39 | int x, y; | 42 | int x, y; |
40 | 43 | ||
41 | bool visible; | 44 | bool visible; |
@@ -62,6 +65,8 @@ swayc_t *new_workspace(swayc_t * output, const char *name); | |||
62 | swayc_t *new_container(swayc_t *child, enum swayc_layouts layout); | 65 | swayc_t *new_container(swayc_t *child, enum swayc_layouts layout); |
63 | //Creates view as a sibling of current focused container, or as child of a workspace | 66 | //Creates view as a sibling of current focused container, or as child of a workspace |
64 | swayc_t *new_view(swayc_t *sibling, wlc_handle handle); | 67 | swayc_t *new_view(swayc_t *sibling, wlc_handle handle); |
68 | //Creates view as a new floating view which is in the active workspace | ||
69 | swayc_t *new_floating_view(wlc_handle handle); | ||
65 | 70 | ||
66 | 71 | ||
67 | swayc_t *destroy_output(swayc_t *output); | 72 | swayc_t *destroy_output(swayc_t *output); |