wayland_shm: Fix extra buffer allocation on client shutdown

On shutdown we need to set wl_surface to NULL to let the engine know
there's nothing to write to - however we've been setting up an entirely
new outbuf instead of just changing the old one.
This commit is contained in:
Derek Foreman 2016-05-02 14:29:47 -05:00
parent 16108a972f
commit d6818131c0
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ eng_setup(Evas *eo_evas, void *info)
else
goto err;
}
else
else if (einfo->info.wl_surface)
{
Outbuf *ob;