From 226306ed45a1bd9491107ff0b870b364eb25ca61 Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 1 Jul 2018 15:08:30 +0100 Subject: surface: rename wlr_surface_state.buffer to buffer_resource --- include/wlr/types/wlr_surface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 76f09cc6..b89da87a 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -22,7 +22,7 @@ enum wlr_surface_state_field { struct wlr_surface_state { uint32_t committed; // enum wlr_surface_state_field - struct wl_resource *buffer; + struct wl_resource *buffer_resource; int32_t dx, dy; // relative to previous position pixman_region32_t surface_damage, buffer_damage; pixman_region32_t opaque, input; @@ -33,7 +33,7 @@ struct wlr_surface_state { int width, height; // in surface-local coordinates int buffer_width, buffer_height; - struct wl_listener buffer_destroy_listener; + struct wl_listener buffer_destroy; }; struct wlr_surface { -- cgit v1.2.3