diff options
| author | Alexander Orzechowski <alex@ozal.ski> | 2023-05-03 23:48:36 -0400 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-05-04 11:53:26 +0200 |
| commit | 394accbe4a4186bba273790bca8cef54d9be21ca (patch) | |
| tree | 143e42b4b3b674c398ceddae6cbb996424392b7b /include/wlr | |
| parent | 2dd95490850c9834091c1d679b78a5af6b520890 (diff) | |
| download | wlroots-394accbe4a4186bba273790bca8cef54d9be21ca.tar.xz | |
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/wlr')
| -rw-r--r-- | include/wlr/types/wlr_compositor.h | 1 |
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; |
