mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 18:24:16 +00:00
damage after destroy layersurface
This commit is contained in:
parent
a98b3831d5
commit
1e89aa72a3
4
dwl.c
4
dwl.c
@ -1024,8 +1024,10 @@ destroylayersurfacenotify(struct wl_listener *listener, void *data)
|
||||
wl_list_remove(&layersurface->surface_commit.link);
|
||||
if (layersurface->layer_surface->output) {
|
||||
Monitor *m = layersurface->layer_surface->output->data;
|
||||
if (m)
|
||||
if (m) {
|
||||
arrangelayers(m);
|
||||
wlr_output_damage_add_whole(m->damage);
|
||||
}
|
||||
layersurface->layer_surface->output = NULL;
|
||||
}
|
||||
free(layersurface);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user