mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
fix crash when foot closes
This commit is contained in:
parent
774bf9988e
commit
be103859f6
1 changed files with 2 additions and 1 deletions
3
dwl.c
3
dwl.c
|
|
@ -808,7 +808,8 @@ commitnotify(struct wl_listener *listener, void *data)
|
|||
c->resize = 0;
|
||||
|
||||
// Damage the whole screen
|
||||
wlr_output_damage_add_whole(c->mon->damage);
|
||||
if (c->mon)
|
||||
wlr_output_damage_add_whole(c->mon->damage);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue