change elm_win to native_win elm_win to native_win because
tw->elm_win has null value.
Change-Id: I0a31c3aeb204557e32005a2a60b7ae1f411dd194
EINA_LIST_FOREACH(list, l, tw)
{
- if (top->elm_win == tw->elm_win)
- {
- t_layer = tw->layer;
- continue;
- }
- else if (middle->elm_win == tw->elm_win)
- {
- m_layer = tw->layer;
- continue;
- }
- else if (bottom->elm_win == tw->elm_win)
- {
- b_layer = tw->layer;
- continue;
- }
+ if (top->native_win == tw->native_win)
+ {
+ t_layer = tw->layer;
+ continue;
+ }
+ else if (middle->native_win == tw->native_win)
+ {
+ m_layer = tw->layer;
+ continue;
+ }
+ else if (bottom->native_win == tw->native_win)
+ {
+ b_layer = tw->layer;
+ continue;
+ }
}
EINA_SAFETY_ON_FALSE_GOTO(b_layer <= m_layer, failed);