wayland: don't force render if buffer isn't configured
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
9f3332766f
commit
a2ae35c794
1 changed files with 5 additions and 0 deletions
|
|
@ -1610,6 +1610,11 @@ static void MwLLSetIconImpl(MwLL handle, MwLLPixmap pixmap) {
|
||||||
|
|
||||||
static void MwLLForceRenderImpl(MwLL handle) {
|
static void MwLLForceRenderImpl(MwLL handle) {
|
||||||
WIDGET_CHECK(handle);
|
WIDGET_CHECK(handle);
|
||||||
|
|
||||||
|
if(!handle->wayland.configured) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
wl_surface_damage(handle->wayland.framebuffer.surface, 0, 0, handle->wayland.ww, handle->wayland.wh);
|
wl_surface_damage(handle->wayland.framebuffer.surface, 0, 0, handle->wayland.ww, handle->wayland.wh);
|
||||||
|
|
||||||
handle->wayland.force_render = MwTRUE;
|
handle->wayland.force_render = MwTRUE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue