evas_out: fix the condition logic for evas_output_view_set 27/207427/2 accepted/tizen/unified/20190610.082538 submit/tizen/20190604.220201 submit/tizen/20190605.022935
authorTaehyub Kim <taehyub.kim@samsung.com>
Tue, 4 Jun 2019 11:19:15 +0000 (20:19 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Tue, 4 Jun 2019 11:23:40 +0000 (20:23 +0900)
Change-Id: I0c3727c11435c74b55a1043ae326f2a25022257f

src/lib/evas/canvas/evas_out.c

index e5c54b6..c006422 100644 (file)
@@ -90,6 +90,8 @@ evas_output_view_set(Evas_Out *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Ev
 {
    Efl_Canvas_Output *output;
 
+   if ((w < 0) || (h < 0)) return;
+
    if (obj)
      {
         Evas *eo_e;