mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
wlr_raster: Use wlr_surface_consume()
This commit is contained in:
parent
e20c0290c1
commit
477c556019
2 changed files with 2 additions and 62 deletions
|
|
@ -388,5 +388,6 @@ struct wlr_raster *wlr_raster_from_surface(struct wlr_surface *surface) {
|
|||
wl_list_remove(&surface_raster->buffer_prerelease.link);
|
||||
wl_signal_add(&surface->current.buffer->events.prerelease, &surface_raster->buffer_prerelease);
|
||||
|
||||
wlr_surface_consume(surface);
|
||||
return raster;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue