diff options
author | Luminarys <kizunanohikari@gmail.com> | 2015-08-18 16:24:01 -0500 |
---|---|---|
committer | Luminarys <kizunanohikari@gmail.com> | 2015-08-18 16:24:01 -0500 |
commit | a7c045a520811cc6a58c3ee605af16e9c9a96390 (patch) | |
tree | ae3325fe9c625f928e6964d9803342f5d8910e79 | |
parent | Improve README (more) (diff) | |
download | sway-a7c045a520811cc6a58c3ee605af16e9c9a96390.tar.gz sway-a7c045a520811cc6a58c3ee605af16e9c9a96390.tar.zst sway-a7c045a520811cc6a58c3ee605af16e9c9a96390.zip |
Patched for wlc updates
-rw-r--r-- | sway/layout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/layout.c b/sway/layout.c index 105359d2..a6a241f4 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -152,10 +152,10 @@ void arrange_windows(swayc_t *container, int width, int height) { | |||
152 | geometry.origin.y = 0; | 152 | geometry.origin.y = 0; |
153 | geometry.size.w = parent->width; | 153 | geometry.size.w = parent->width; |
154 | geometry.size.h = parent->height; | 154 | geometry.size.h = parent->height; |
155 | wlc_view_set_geometry(container->handle, &geometry); | 155 | wlc_view_set_geometry(container->handle, 0, &geometry); |
156 | wlc_view_bring_to_front(container->handle); | 156 | wlc_view_bring_to_front(container->handle); |
157 | } else { | 157 | } else { |
158 | wlc_view_set_geometry(container->handle, &geometry); | 158 | wlc_view_set_geometry(container->handle, 0, &geometry); |
159 | container->width = width; | 159 | container->width = width; |
160 | container->height = height; | 160 | container->height = height; |
161 | } | 161 | } |
@@ -232,10 +232,10 @@ void arrange_windows(swayc_t *container, int width, int height) { | |||
232 | geometry.origin.y = 0; | 232 | geometry.origin.y = 0; |
233 | geometry.size.w = parent->width; | 233 | geometry.size.w = parent->width; |
234 | geometry.size.h = parent->height; | 234 | geometry.size.h = parent->height; |
235 | wlc_view_set_geometry(view->handle, &geometry); | 235 | wlc_view_set_geometry(view->handle, 0, &geometry); |
236 | wlc_view_bring_to_front(view->handle); | 236 | wlc_view_bring_to_front(view->handle); |
237 | } else { | 237 | } else { |
238 | wlc_view_set_geometry(view->handle, &geometry); | 238 | wlc_view_set_geometry(view->handle, 0, &geometry); |
239 | view->width = width; | 239 | view->width = width; |
240 | view->height = height; | 240 | view->height = height; |
241 | // Bring the views to the front in order of the list, the list | 241 | // Bring the views to the front in order of the list, the list |