From 3f83968d304c4295705d1cfb33ac723959519f23 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 29 Jul 2016 09:14:26 -0400 Subject: [PATCH] Fix swaybg sizing on hidpi outputs --- sway/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/handlers.c b/sway/handlers.c index cb608bec0..7d7b2539d 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -107,7 +107,7 @@ static void update_panel_geometries(wlc_handle output) { static void update_background_geometry(struct background_config *config) { struct wlc_geometry geometry = wlc_geometry_zero; - geometry.size = *wlc_output_get_resolution(config->output); + output_get_scaled_size(config->output, &geometry.size); wlc_view_set_geometry(config->handle, 0, &geometry); }