diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-20 05:06:22 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-20 05:06:22 -0700 |
commit | f5fde7c45c04b02406eabc34cbb4248189c6a26e (patch) | |
tree | 120cbb51e8e16346743b9408e17452ab5e81d0e2 /sway/container.c | |
parent | f6e002fb8b664d80ef10126f6a204ffbb2f192df (diff) |
style
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/container.c b/sway/container.c index 59dc9e62..7da33b48 100644 --- a/sway/container.c +++ b/sway/container.c @@ -171,7 +171,7 @@ swayc_t *new_view(swayc_t *sibling, wlc_handle handle) { view->name = title ? strdup(title) : NULL; view->visible = true; view->is_focused = true; - //Setup geometry + // Setup geometry view->width = 0; view->height = 0; @@ -205,7 +205,7 @@ swayc_t *new_floating_view(wlc_handle handle) { // Set the geometry of the floating view const struct wlc_geometry* geometry = wlc_view_get_geometry(handle); - //give it requested geometry, but place in center + // give it requested geometry, but place in center view->x = (active_workspace->width - geometry->size.w) / 2; view->y = (active_workspace->height- geometry->size.h) / 2; view->width = geometry->size.w; |