diff options
| author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-08-13 00:07:11 -0500 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-08-13 00:12:46 -0500 | 
| commit | f173c56c320a57e76a6bee578c3b9365f3a83950 (patch) | |
| tree | 06fb60d28183368653bfc55b1af2e5d4d0a474d7 /dwl.c | |
| parent | 28af37cd1f6dce140df8e99659d0af07dc1d9985 (diff) | |
initialize to zero the box used in commitnotify()
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -793,7 +793,7 @@ void  commitnotify(struct wl_listener *listener, void *data)  {  	Client *c = wl_container_of(listener, c, commit); -	struct wlr_box box; +	struct wlr_box box = {0};  	client_get_geometry(c, &box);  	if (c->mon && !wlr_box_empty(&box) && (box.width != c->geom.width - 2 * c->bw | 
