aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-03 23:48:36 -0400
committerSimon Ser <contact@emersion.fr>2023-05-04 11:53:26 +0200
commit394accbe4a4186bba273790bca8cef54d9be21ca (patch)
tree143e42b4b3b674c398ceddae6cbb996424392b7b /include
parent2dd95490850c9834091c1d679b78a5af6b520890 (diff)
wlr_compositer: Keep track if surface has committed a buffer before.
This would break if you are running with a NULL renderer.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_compositor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h
index e4ac7879..3c4f5a4b 100644
--- a/include/wlr/types/wlr_compositor.h
+++ b/include/wlr/types/wlr_compositor.h
@@ -163,6 +163,7 @@ struct wlr_surface {
} previous;
bool opaque;
+ bool has_buffer;
int32_t preferred_buffer_scale;
bool preferred_buffer_transform_sent;