aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-08-11 17:34:34 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-09-06 14:21:23 -0400
commitba0525c5c08b31ade48368df4d2fd1bbefd1304a (patch)
tree6a9b7d5467409bb1a7725240dd62c4dd37ab0904 /xwayland
parent0978a702d7eda51acd340b53984d844f17a45e39 (diff)
surface: drop wlr_surface_state.buffer_resource
Instead, use wlr_surface_state.buffer only.
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
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);