diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-17 12:59:39 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-07-17 12:59:39 -0400 |
commit | 2530f952c9cec4150f5ee44bdd764123ae09bd30 (patch) | |
tree | 465523effc33fe6c661f222e392e9d9188ebfa83 | |
parent | ff363aa7f7ace778180dd9cc6687a991b5106b19 (diff) |
Fix clang warning
-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) { } static void update_background_geometry(struct background_config *config) { - struct wlc_geometry geometry = { 0 }; + struct wlc_geometry geometry = wlc_geometry_zero; geometry.size = *wlc_output_get_resolution(config->output); wlc_view_set_geometry(config->handle, 0, &geometry); } |