ee_cocoa: Remove draw_ok sets
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 12 Apr 2018 18:27:17 +0000 (13:27 -0500)
committerJiyoun Park <jy0703.park@samsung.com>
Mon, 25 Jun 2018 07:57:53 +0000 (16:57 +0900)
draw_ok isn't currently used by anything but the X custom render function,
so it's doing absolutely nothing here.

ref T6834

Change-Id: Ibc68e65d147ce2b255683b5aac3342e4e583a7a3

src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c

index 483cdfe..ee92890 100644 (file)
@@ -272,7 +272,6 @@ _ecore_evas_show(Ecore_Evas *ee)
    if (ee->visible) return;
    ee->visible = 1;
    ee->should_be_visible = 1;
-   ee->draw_ok = EINA_TRUE;
    if (ee->func.fn_show) ee->func.fn_show(ee);
 }
 
@@ -293,7 +292,6 @@ _ecore_evas_hide(Ecore_Evas *ee)
    if (!ee->visible) return;
    ee->visible = 0;
    ee->should_be_visible = 0;
-   ee->draw_ok = EINA_FALSE;
 
    if (ee->func.fn_hide) ee->func.fn_hide(ee);
 }