diff options
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/layout.c b/sway/layout.c index 2037955e..db9787f3 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -407,7 +407,7 @@ static void update_border_geometry_floating(swayc_t *c, struct wlc_geometry *geo | |||
407 | 407 | ||
408 | swayc_t *output = swayc_parent_by_type(c, C_OUTPUT); | 408 | swayc_t *output = swayc_parent_by_type(c, C_OUTPUT); |
409 | struct wlc_size res; | 409 | struct wlc_size res; |
410 | wlc_output_get_scaled_size(output->handle, &res); | 410 | output_get_scaled_size(output->handle, &res); |
411 | 411 | ||
412 | switch (c->border_type) { | 412 | switch (c->border_type) { |
413 | case B_NONE: | 413 | case B_NONE: |
@@ -548,7 +548,7 @@ void update_geometry(swayc_t *container) { | |||
548 | 548 | ||
549 | swayc_t *output = swayc_parent_by_type(container, C_OUTPUT); | 549 | swayc_t *output = swayc_parent_by_type(container, C_OUTPUT); |
550 | struct wlc_size size; | 550 | struct wlc_size size; |
551 | wlc_output_get_scaled_size(output->handle, &size); | 551 | output_get_scaled_size(output->handle, &size); |
552 | 552 | ||
553 | if (swayc_is_fullscreen(container)) { | 553 | if (swayc_is_fullscreen(container)) { |
554 | geometry.origin.x = 0; | 554 | geometry.origin.x = 0; |
@@ -729,7 +729,7 @@ static void arrange_windows_r(swayc_t *container, double width, double height) { | |||
729 | case C_OUTPUT: | 729 | case C_OUTPUT: |
730 | { | 730 | { |
731 | struct wlc_size resolution; | 731 | struct wlc_size resolution; |
732 | wlc_output_get_scaled_size(container->handle, &resolution); | 732 | output_get_scaled_size(container->handle, &resolution); |
733 | width = resolution.w; height = resolution.h; | 733 | width = resolution.w; height = resolution.h; |
734 | // output must have correct size due to e.g. seamless mouse, | 734 | // output must have correct size due to e.g. seamless mouse, |
735 | // but a workspace might be smaller depending on panels. | 735 | // but a workspace might be smaller depending on panels. |