Fix clang warning
This commit is contained in:
parent
ff363aa7f7
commit
2530f952c9
|
@ -105,7 +105,7 @@ static void update_panel_geometries(wlc_handle output) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update_background_geometry(struct background_config *config) {
|
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);
|
geometry.size = *wlc_output_get_resolution(config->output);
|
||||||
wlc_view_set_geometry(config->handle, 0, &geometry);
|
wlc_view_set_geometry(config->handle, 0, &geometry);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue