compositor: remove unnecessary wlr_surface.has_buffer

No need to store this bit, we can infer it from buffer_width and
buffer_height.
This commit is contained in:
Simon Ser 2023-12-12 11:12:07 +01:00
parent cd157a0bd9
commit 66b6c349e7
2 changed files with 2 additions and 5 deletions

View file

@ -218,7 +218,6 @@ struct wlr_surface {
bool unmap_commit;
bool opaque;
bool has_buffer;
int32_t preferred_buffer_scale;
bool preferred_buffer_transform_sent;