Remove unneccessary waylandFlush() calls
This commit is contained in:
parent
b60462feb6
commit
64fa80f8b2
4 changed files with 5 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue