aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-05-31 10:29:44 -0400
committerDrew DeVault <sir@cmpwn.com>2016-05-31 10:29:44 -0400
commitdf8caa29a71f041a8e94ff410274a598abfe9a81 (patch)
tree9665fbaac9e2f7d099d7c54715404032ea406551 /include
parent7f6b3d1c1f0727c8db623c18cc8a4fd948be995d (diff)
parent3c4c62301290991b790b90c840d18b398e0522c8 (diff)
Merge pull request #685 from thuck/floating_size
Initial work for floating view with sane values
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
-rw-r--r--include/container.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 3c1957b6..1a6ba19d 100644
--- a/include/config.h
+++ b/include/config.h
@@ -226,6 +226,12 @@ struct sway_config {
struct border_colors placeholder;
uint32_t background;
} border_colors;
+
+ // floating view minimum
+ int32_t floating_maximum_width;
+ int32_t floating_maximum_height;
+ int32_t floating_minimum_width;
+ int32_t floating_minimum_height;
};
/**
diff --git a/include/container.h b/include/container.h
index d1905720..50ca2bf5 100644
--- a/include/container.h
+++ b/include/container.h
@@ -168,6 +168,8 @@ swayc_t *new_view(swayc_t *sibling, wlc_handle handle);
*/
swayc_t *new_floating_view(wlc_handle handle);
+void floating_view_sane_size(swayc_t *view);
+
/**
* Frees an output's container.
*/