aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_buffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h
index 21bcdefc..6327bbfb 100644
--- a/include/wlr/types/wlr_buffer.h
+++ b/include/wlr/types/wlr_buffer.h
@@ -137,7 +137,12 @@ struct wlr_client_buffer {
*/
struct wlr_texture *texture;
+ // private state
+
struct wl_listener resource_destroy;
+
+ // If the client buffer has been created from a wl_shm buffer
+ uint32_t shm_source_format;
};
/**