summaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
authorLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-17 10:18:06 -0500
committerLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-17 10:18:06 -0500
commit47ec999e7184d29c2911af20ce696d1f4e948e29 (patch)
tree15e595e631b97210708ffae99684eb6e00a9c70c /include/container.h
parentDeleted file (diff)
downloadsway-47ec999e7184d29c2911af20ce696d1f4e948e29.tar.gz
sway-47ec999e7184d29c2911af20ce696d1f4e948e29.tar.zst
sway-47ec999e7184d29c2911af20ce696d1f4e948e29.zip
Fixes to floating and umanaged views
Diffstat (limited to 'include/container.h')
-rw-r--r--include/container.h5
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);
62swayc_t *new_container(swayc_t *child, enum swayc_layouts layout); 65swayc_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
64swayc_t *new_view(swayc_t *sibling, wlc_handle handle); 67swayc_t *new_view(swayc_t *sibling, wlc_handle handle);
68//Creates view as a new floating view which is in the active workspace
69swayc_t *new_floating_view(wlc_handle handle);
65 70
66 71
67swayc_t *destroy_output(swayc_t *output); 72swayc_t *destroy_output(swayc_t *output);