diff options
-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 72cb8057..4a6b6716 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -105,7 +105,7 @@ static void update_panel_geometries(wlc_handle output) { | |||
105 | } | 105 | } |
106 | 106 | ||
107 | static void update_background_geometry(struct background_config *config) { | 107 | static void update_background_geometry(struct background_config *config) { |
108 | struct wlc_geometry geometry = { 0 }; | 108 | struct wlc_geometry geometry = wlc_geometry_zero; |
109 | geometry.size = *wlc_output_get_resolution(config->output); | 109 | geometry.size = *wlc_output_get_resolution(config->output); |
110 | wlc_view_set_geometry(config->handle, 0, &geometry); | 110 | wlc_view_set_geometry(config->handle, 0, &geometry); |
111 | } | 111 | } |