This commit is contained in:
parent
58027c095f
commit
e43a5291f5
1 changed files with 4 additions and 3 deletions
|
|
@ -175,9 +175,10 @@ void MwLLWaylandBufferUpdate(MwLL self, struct _MwLLWaylandShmBuffer* buffer) {
|
||||||
memcpy(buffer->buf, buffer->buf_back, buffer->buf_size);
|
memcpy(buffer->buf, buffer->buf_back, buffer->buf_size);
|
||||||
if(buffer->surface) {
|
if(buffer->surface) {
|
||||||
// Yes this is needed every time, it's how we fix weston.
|
// Yes this is needed every time, it's how we fix weston.
|
||||||
// if(self->wayland.configured) {
|
// it's also how we fix comboboxes.
|
||||||
// wl_surface_attach(buffer->surface, buffer->shm_buffer, 0, 0);
|
if(self->wayland.configured) {
|
||||||
// }
|
wl_surface_attach(buffer->surface, buffer->shm_buffer, 0, 0);
|
||||||
|
}
|
||||||
if(buffer->fifo)
|
if(buffer->fifo)
|
||||||
wp_fifo_v1_wait_barrier(buffer->fifo);
|
wp_fifo_v1_wait_barrier(buffer->fifo);
|
||||||
wl_surface_commit(buffer->surface);
|
wl_surface_commit(buffer->surface);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue