internel_elm_win var is useless.
Change-Id: I8b171c42b1e5bbc1737f0c2b8cf450d030d5cb11
if (action_client)
{
action_client->keyboard_resizing = 0;
- //if (action_client->internal_elm_win)
- // ecore_event_window_ignore_events(elm_win_window_id_get(action_client->internal_elm_win), 0);
}
action_client = NULL;
}
EINA_LIST_FREE(ec->e.state.video_child, tmp)
tmp->e.state.video_parent_client = NULL;
}
- E_FREE_FUNC(ec->internal_elm_win, evas_object_del);
E_FREE_FUNC(ec->post_job, ecore_idle_enterer_del);
E_FREE_FUNC(ec->kill_timer, ecore_timer_del);
E_FREE_FUNC(ec->border_prop_dialog, e_object_del);
E_FREE_FUNC(ec->color_editor, evas_object_del);
- if (ec->internal_elm_win)
- evas_object_hide(ec->internal_elm_win);
-
if (ec->focused)
e_client_revert_focus(ec);
if (action_client)
{
action_client->keyboard_resizing = 0;
- //if (action_client->internal_elm_win)
- // ecore_event_window_ignore_events(elm_win_window_id_get(action_client->internal_elm_win), 0);
}
action_client = ec;
- //if (ec->internal_elm_win)
- // ecore_event_window_ignore_events(elm_win_window_id_get(ec->internal_elm_win), 1);
}
static void
if (e_object_is_del(data)) return;
ec->pre_res_change.valid = 0;
- if (ec->internal_elm_win)
- {
- EC_CHANGED(ec);
- ec->changes.pos = 1;
- }
_e_client_event_simple(ec, E_EVENT_CLIENT_MOVE);
unsigned int internal_no_reopen : 1;
Eina_Bool dead : 1;
- Evas_Object *internal_elm_win;
-
double ping;
unsigned char changed : 1;
edje_object_play_set(cw->frame_object, 1);
}
evas_object_show(cw->effect_obj);
- if (cw->ec->internal_elm_win && (!evas_object_visible_get(cw->ec->internal_elm_win)))
- evas_object_show(cw->ec->internal_elm_win);
if (cw->mask.obj) evas_object_show(cw->mask.obj);
if (cw->transform_bg_obj) evas_object_show(cw->transform_bg_obj);
if (cw->transform_tranp_obj) evas_object_show(cw->transform_tranp_obj);
evas_object_hide(ec->frame);
// e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
}
- else if (!ec->internal_elm_win)
+ else
evas_object_show(ec->frame);
}
/* NB: could not find a better place to do this, BUT for internal windows,
* we need to set delete_request else the close buttons on the frames do
* basically nothing */
- if ((ec->internal) || (ec->internal_elm_win))
+ if (ec->internal)
ec->icccm.delete_request = EINA_TRUE;
/* set initial client data properties */
if (ec->comp_data->surface)
wl_resource_set_user_data(ec->comp_data->surface, NULL);
- if (ec->internal_elm_win)
- _e_comp_wl_surface_render_stop(ec);
_e_comp_wl_focus_check();
if (ec->comp_data->aux_hint.hints)
e_client_unignore(ec);
e_comp->new_clients++;
if (!ec->internal)
- ec->borderless = !ec->internal_elm_win;
+ ec->borderless = 1;
ec->lock_border = EINA_TRUE;
if (!ec->internal)
ec->border.changed = ec->changes.border = !ec->borderless;
}
if (!ec->internal)
- ec->borderless = !ec->internal_elm_win;
+ ec->borderless = 1;
ec->lock_border = EINA_TRUE;
if (!ec->internal)
ec->border.changed = ec->changes.border = !ec->borderless;
{
x = E_CLAMP(ec->parent->client.x + ec->comp_data->popup.x,
ec->parent->client.x,
- ec->parent->client.x +
+ ec->parent->client.x +
ec->parent->client.w - ec->client.w);
y = E_CLAMP(ec->parent->client.y + ec->comp_data->popup.y,
ec->parent->client.y,
- ec->parent->client.y +
+ ec->parent->client.y +
ec->parent->client.h - ec->client.h);
}
}