mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-07 08:21:07 -04:00
fix foot scroll crash
This commit is contained in:
parent
a4ce5e08ab
commit
dd3f342530
1 changed files with 2 additions and 1 deletions
3
dwl.c
3
dwl.c
|
|
@ -818,7 +818,8 @@ void
|
|||
commitnotify_sub(struct wl_listener *listener, void *data)
|
||||
{
|
||||
Subsurface *s = wl_container_of(listener, s, commit);
|
||||
wlr_output_damage_add_whole(s->c->mon->damage);
|
||||
if (s->c->mon)
|
||||
wlr_output_damage_add_whole(s->c->mon->damage);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue