summaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorLuminarys <[email protected]>2015-08-17 10:34:39 -0500
committerLuminarys <[email protected]>2015-08-17 10:34:39 -0500
commitc9ce8bf1bd0f4cfb459bcb7d3ec45429c0a81293 (patch)
treef9da3981625cd2235961f8efee7c4f3a94649241 /sway/container.c
parent3f475f5009974a5dcdfe12f578208a4fd92c84ba (diff)
Style and other minor fixes
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/container.c b/sway/container.c
index 1f93d4dc..231876c5 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -170,8 +170,8 @@ swayc_t *new_floating_view(wlc_handle handle) {
view->width = geometry->size.w;
view->height = geometry->size.h;
- view->desired_width = -1;
- view->desired_height = -1;
+ view->desired_width = view->width;
+ view->desired_height = view->height;
view->is_floating = true;