It is an error if you are using wtz_exported_shell_set_destination
with negative or zero values.
Please refer to following description.
[wtz_foreign.xml]
<interface name="wtz_exported_shell" version="1">
<description summary="an exported shell handle">
...
</description>
<enum name="error">
<entry name="bad_value" value="0"
summary="negative or zero values in width or height"/>
Change-Id: Iea52527c9bd2c51b2f260464443af1437837ef17
{
EINA_SAFETY_ON_NULL_RETURN(subsurface);
EINA_SAFETY_ON_NULL_RETURN(subsurface->wl.fs);
+
+ if (w <= 0 || h <= 0) return;
+
wtz_exported_shell_set_destination(subsurface->wl.fs, w, h);
}