ecore_wl2: prevent wrong use of wtz_exported_shell_set_destination 61/275461/3
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 25 May 2022 06:51:26 +0000 (15:51 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 20 Jun 2022 02:09:51 +0000 (02:09 +0000)
commitc11d9ba1bc563f66e8e153ad9fbff57d9d706ae2
tree17d4b4790367fea69b30a8458bc59a96e906cc60
parent21896384e7f83b7624a8a00ac7ee8704bfb43c3c
ecore_wl2: prevent wrong use of wtz_exported_shell_set_destination

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
src/lib/ecore_wl2/ecore_wl2_subsurf.c