forked from enlightenment/efl
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:
parent
b0a7c4b086
commit
4343a95e27
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue