fix crash when foot closes

This commit is contained in:
Sevz17 2021-08-17 21:04:24 -05:00
parent 774bf9988e
commit be103859f6

3
dwl.c
View File

@ -808,7 +808,8 @@ commitnotify(struct wl_listener *listener, void *data)
c->resize = 0; c->resize = 0;
// Damage the whole screen // Damage the whole screen
wlr_output_damage_add_whole(c->mon->damage); if (c->mon)
wlr_output_damage_add_whole(c->mon->damage);
} }
void void