diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-07-29 09:14:26 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-07-29 09:14:26 -0400 |
| commit | 41c12e2afbe33fb55917ea12fd0906a52aa82891 (patch) | |
| tree | eb01e053446fd886eb60c2a60a6fbdaaea295604 | |
| parent | 79ca230f52f5e24f7beee9018fe9f5a23a16e818 (diff) | |
Fix swaybg sizing on hidpi outputs
| -rw-r--r-- | sway/handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index cb608bec..7d7b2539 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); } |
