wayland_shm: Don't attach null buffers from surface_post

This is protected against elsewhere.
This commit is contained in:
Derek Foreman 2017-08-17 15:12:19 -05:00
parent 51768ff62b
commit 5f0fa08467
2 changed files with 0 additions and 4 deletions

View File

@ -703,8 +703,6 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count,
_evas_surface_damage(wls, surface->compositor_version,
b->w, b->h, rects, count);
}
else
wl_surface_attach(wls, NULL, 0, 0);
ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);
}

View File

@ -555,8 +555,6 @@ _evas_shm_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count, Ei
_evas_surface_damage(wls, surf->compositor_version,
leaf->w, leaf->h, rects, count);
}
else
wl_surface_attach(wls, NULL, 0, 0);
ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);