mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
surface: drop wlr_surface_state.buffer_resource
Instead, use wlr_surface_state.buffer only.
This commit is contained in:
parent
0978a702d7
commit
ba0525c5c0
5 changed files with 16 additions and 50 deletions
|
|
@ -850,7 +850,7 @@ static void xwayland_surface_role_precommit(struct wlr_surface *wlr_surface) {
|
|||
}
|
||||
|
||||
if (wlr_surface->pending.committed & WLR_SURFACE_STATE_BUFFER &&
|
||||
wlr_surface->pending.buffer_resource == NULL) {
|
||||
wlr_surface->pending.buffer == NULL) {
|
||||
// This is a NULL commit
|
||||
if (surface->mapped) {
|
||||
wlr_signal_emit_safe(&surface->events.unmap, surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue