Remove unneccessary waylandFlush() calls

This commit is contained in:
Raphael Robatsch 2021-10-22 15:05:47 +02:00
commit 64fa80f8b2
4 changed files with 5 additions and 9 deletions

View file

@ -30,7 +30,6 @@ Bar::~Bar()
{
wl_surface_destroy(_surface);
zwlr_layer_surface_v1_destroy(_layerSurface);
waylandFlush();
}
void Bar::layerSurfaceConfigure(uint32_t serial, uint32_t width, uint32_t height)
@ -56,5 +55,4 @@ void Bar::render()
wl_surface_attach(_surface, _bufs->buffer(), 0, 0);
wl_surface_commit(_surface);
_bufs->flip();
waylandFlush();
}