diff options
author | Denis Doria <denisdoria@gmail.com> | 2016-05-31 14:59:33 +0200 |
---|---|---|
committer | Denis Doria <denisdoria@gmail.com> | 2016-05-31 14:59:33 +0200 |
commit | f1d5b89d3eabf0af267ed4a385079d616a82d2aa (patch) | |
tree | dc5017d0adbd1168c936d66faf34b82c2eb010b3 /include | |
parent | 9d7d73df7f7888a3ea8420662fa5aa2ef6e3bd82 (diff) | |
download | sway-f1d5b89d3eabf0af267ed4a385079d616a82d2aa.tar.xz |
Initial work for floating view with sane values
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 | ||||
-rw-r--r-- | include/container.h | 2 |
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. */ |