aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c6
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
swayc_t *output = swayc_parent_by_type(c, C_OUTPUT);
struct wlc_size res;
- wlc_output_get_scaled_size(output->handle, &res);
+ output_get_scaled_size(output->handle, &res);
switch (c->border_type) {
case B_NONE:
@@ -548,7 +548,7 @@ void update_geometry(swayc_t *container) {
swayc_t *output = swayc_parent_by_type(container, C_OUTPUT);
struct wlc_size size;
- wlc_output_get_scaled_size(output->handle, &size);
+ output_get_scaled_size(output->handle, &size);
if (swayc_is_fullscreen(container)) {
geometry.origin.x = 0;
@@ -729,7 +729,7 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
case C_OUTPUT:
{
struct wlc_size resolution;
- wlc_output_get_scaled_size(container->handle, &resolution);
+ output_get_scaled_size(container->handle, &resolution);
width = resolution.w; height = resolution.h;
// output must have correct size due to e.g. seamless mouse,
// but a workspace might be smaller depending on panels.