ee_cocoa: Remove draw_ok sets

draw_ok isn't currently used by anything but the X custom render function,
so it's doing absolutely nothing here.

ref T6834
This commit is contained in:
Derek Foreman 2018-04-12 13:27:17 -05:00
parent b0a7c4b086
commit 4343a95e27
1 changed files with 0 additions and 2 deletions

View 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);
}