diff options
author | emersion <contact@emersion.fr> | 2018-07-01 15:08:30 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-07-04 19:12:18 +0100 |
commit | 226306ed45a1bd9491107ff0b870b364eb25ca61 (patch) | |
tree | 4f68c5c8b80bff6fcd6b91470eb950a8c7e65890 /include/wlr | |
parent | 68c133da2fb49f4b7c26aacd49f535ef93d27116 (diff) |
surface: rename wlr_surface_state.buffer to buffer_resource
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |