From ba0525c5c08b31ade48368df4d2fd1bbefd1304a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 11 Aug 2021 17:34:34 +0200 Subject: surface: drop wlr_surface_state.buffer_resource Instead, use wlr_surface_state.buffer only. --- xwayland/xwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xwayland/xwm.c') diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 516a061d..b8b152fb 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -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); -- cgit v1.2.3