aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorLuminarys <kizunanohikari@gmail.com>2015-08-18 16:24:01 -0500
committerLuminarys <kizunanohikari@gmail.com>2015-08-18 16:24:01 -0500
commita7c045a520811cc6a58c3ee605af16e9c9a96390 (patch)
treeae3325fe9c625f928e6964d9803342f5d8910e79 /sway
parentfeb0195341b4caabfc3338bb29acf027b1e53780 (diff)
downloadsway-a7c045a520811cc6a58c3ee605af16e9c9a96390.tar.xz
Patched for wlc updates
Diffstat (limited to 'sway')
-rw-r--r--sway/layout.c8
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) {
geometry.origin.y = 0;
geometry.size.w = parent->width;
geometry.size.h = parent->height;
- wlc_view_set_geometry(container->handle, &geometry);
+ wlc_view_set_geometry(container->handle, 0, &geometry);
wlc_view_bring_to_front(container->handle);
} else {
- wlc_view_set_geometry(container->handle, &geometry);
+ wlc_view_set_geometry(container->handle, 0, &geometry);
container->width = width;
container->height = height;
}
@@ -232,10 +232,10 @@ void arrange_windows(swayc_t *container, int width, int height) {
geometry.origin.y = 0;
geometry.size.w = parent->width;
geometry.size.h = parent->height;
- wlc_view_set_geometry(view->handle, &geometry);
+ wlc_view_set_geometry(view->handle, 0, &geometry);
wlc_view_bring_to_front(view->handle);
} else {
- wlc_view_set_geometry(view->handle, &geometry);
+ wlc_view_set_geometry(view->handle, 0, &geometry);
view->width = width;
view->height = height;
// Bring the views to the front in order of the list, the list