diff options
author | 2016-05-31 09:30:34 -0500 | |
---|---|---|
committer | 2016-05-31 09:30:34 -0500 | |
commit | 8a81f524502f1948f8f0ef1e98708f2662c34bc1 (patch) | |
tree | ddc3a22aa83574abaf17f7e63ecde76745dbc458 /include | |
parent | fix swaybar problem in 08bef67 (diff) | |
parent | Merge pull request #685 from thuck/floating_size (diff) | |
download | sway-8a81f524502f1948f8f0ef1e98708f2662c34bc1.tar.gz sway-8a81f524502f1948f8f0ef1e98708f2662c34bc1.tar.zst sway-8a81f524502f1948f8f0ef1e98708f2662c34bc1.zip |
Merge branch 'master' of github.com:SirCmpwn/sway into fix-swaybar-in-08bef67
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 { | |||
226 | struct border_colors placeholder; | 226 | struct border_colors placeholder; |
227 | uint32_t background; | 227 | uint32_t background; |
228 | } border_colors; | 228 | } border_colors; |
229 | |||
230 | // floating view minimum | ||
231 | int32_t floating_maximum_width; | ||
232 | int32_t floating_maximum_height; | ||
233 | int32_t floating_minimum_width; | ||
234 | int32_t floating_minimum_height; | ||
229 | }; | 235 | }; |
230 | 236 | ||
231 | /** | 237 | /** |
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); | |||
168 | */ | 168 | */ |
169 | swayc_t *new_floating_view(wlc_handle handle); | 169 | swayc_t *new_floating_view(wlc_handle handle); |
170 | 170 | ||
171 | void floating_view_sane_size(swayc_t *view); | ||
172 | |||
171 | /** | 173 | /** |
172 | * Frees an output's container. | 174 | * Frees an output's container. |
173 | */ | 175 | */ |