// printf("##- ATTR FETCH FAILED/INPUT ONLY FOR 0x%x - ABORT MANAGE\n", win);
e_canvas_del(bd->bg_ecore_evas);
ecore_evas_free(bd->bg_ecore_evas);
- ecore_x_window_del(bd->client.shell_win);
+ ecore_x_window_free(bd->client.shell_win);
e_bindings_mouse_ungrab(E_BINDING_CONTEXT_BORDER, bd->win);
e_bindings_wheel_ungrab(E_BINDING_CONTEXT_BORDER, bd->win);
- ecore_x_window_del(bd->win);
+ ecore_x_window_free(bd->win);
free(bd);
return NULL;
}
return 0;
e_grabinput_release(action_input_win, action_input_win);
- ecore_x_window_del(action_input_win);
+ ecore_x_window_free(action_input_win);
action_input_win = 0;
return 1;
}
evas_object_del(bd->bg_object);
e_canvas_del(bd->bg_ecore_evas);
ecore_evas_free(bd->bg_ecore_evas);
- ecore_x_window_del(bd->client.shell_win);
+ ecore_x_window_free(bd->client.shell_win);
e_focus_setdown(bd);
e_bindings_mouse_ungrab(E_BINDING_CONTEXT_BORDER, bd->win);
e_bindings_wheel_ungrab(E_BINDING_CONTEXT_BORDER, bd->win);
- ecore_x_window_del(bd->win);
+ ecore_x_window_free(bd->win);
eina_hash_del(borders_hash, e_util_winid_str_get(bd->client.win), bd);
eina_hash_del(borders_hash, e_util_winid_str_get(bd->bg_win), bd);
ecore_x_window_shape_window_add_xy(twin, twin2,
bd->client_inset.l,
bd->client_inset.t);
- ecore_x_window_del(twin2);
+ ecore_x_window_free(twin2);
ecore_x_window_shape_window_set(bd->win, twin);
- ecore_x_window_del(twin);
+ ecore_x_window_free(twin);
}
else
ecore_x_window_shape_mask_set(bd->win, 0);
{
Eina_List *l;
- ecore_x_window_del(con->event_win);
+ ecore_x_window_free(con->event_win);
/* We can't use e_object_del here, because border adds a ref to itself
* when it is removed, and the ref is never unref'ed */
/* FIXME: had to disable this as it was freeing already freed items during
ecore_evas_free(con->bg_ecore_evas);
if (con->manager->win != con->win)
{
- ecore_x_window_del(con->win);
+ ecore_x_window_free(con->win);
}
if (con->name) eina_stringshare_del(con->name);
free(con);
_("Locking the desktop failed because some application<br>"
"has grabbed either the keyboard or the mouse or both<br>"
"and their grab is unable to be broken."));
- ecore_x_window_del(edd->elock_wnd);
+ ecore_x_window_free(edd->elock_wnd);
free(edd);
edd = NULL;
return 0;
}
e_grabinput_release(edd->elock_wnd, edd->elock_wnd);
- ecore_x_window_del(edd->elock_wnd);
+ ecore_x_window_free(edd->elock_wnd);
E_FREE(edd);
edd = NULL;
ecore_x_window_show(_drag_win);
if (!e_grabinput_get(_drag_win, 1, _drag_win))
{
- ecore_x_window_del(_drag_win);
+ ecore_x_window_free(_drag_win);
return 0;
}
ecore_x_window_show(_drag_win);
if (!e_grabinput_get(_drag_win, 1, _drag_win))
{
- ecore_x_window_del(_drag_win);
+ ecore_x_window_free(_drag_win);
return 0;
}
if (!(dropped = ecore_x_dnd_drop()))
{
- ecore_x_window_del(_drag_win);
+ ecore_x_window_free(_drag_win);
_drag_win = 0;
}
if (_drag_current->cb.finished)
return;
}
- ecore_x_window_del(_drag_win);
+ ecore_x_window_free(_drag_win);
_drag_win = 0;
if (_drag_current->data)
E_Drop_Handler *h;
e_grabinput_release(_drag_win, _drag_win);
- ecore_x_window_del(_drag_win);
+ ecore_x_window_free(_drag_win);
_drag_win = 0;
_drag_win_root = 0;
}
e_grabinput_release(_drag_win, _drag_win);
- ecore_x_window_del(_drag_win);
+ ecore_x_window_free(_drag_win);
_drag_win = 0;
return 1;
}
if (man->root != man->win)
{
- ecore_x_window_del(man->win);
+ ecore_x_window_free(man->win);
}
if (man->pointer) e_object_del(E_OBJECT(man->pointer));
managers = eina_list_remove(managers, man);
{
if (_e_menu_win)
{
- ecore_x_window_del(_e_menu_win);
+ ecore_x_window_free(_e_menu_win);
e_grabinput_release(_e_menu_win, _e_menu_win);
_e_menu_win = 0;
}
ecore_x_window_show(_e_menu_win);
if (!e_grabinput_get(_e_menu_win, 1, _e_menu_win))
{
- ecore_x_window_del(_e_menu_win);
+ ecore_x_window_free(_e_menu_win);
_e_menu_win = 0;
return;
}
int x, y;
/* Delete the edge windows if they exist */
- if (zone->edge.top) ecore_x_window_del(zone->edge.top);
- if (zone->edge.bottom) ecore_x_window_del(zone->edge.bottom);
- if (zone->edge.left) ecore_x_window_del(zone->edge.left);
- if (zone->edge.right) ecore_x_window_del(zone->edge.right);
- if (zone->corner.left_bottom) ecore_x_window_del(zone->corner.left_bottom);
- if (zone->corner.left_top) ecore_x_window_del(zone->corner.left_top);
- if (zone->corner.top_left) ecore_x_window_del(zone->corner.top_left);
- if (zone->corner.top_right) ecore_x_window_del(zone->corner.top_right);
- if (zone->corner.right_top) ecore_x_window_del(zone->corner.right_top);
- if (zone->corner.right_bottom) ecore_x_window_del(zone->corner.right_bottom);
- if (zone->corner.bottom_right) ecore_x_window_del(zone->corner.bottom_right);
- if (zone->corner.bottom_left) ecore_x_window_del(zone->corner.bottom_left);
+ if (zone->edge.top) ecore_x_window_free(zone->edge.top);
+ if (zone->edge.bottom) ecore_x_window_free(zone->edge.bottom);
+ if (zone->edge.left) ecore_x_window_free(zone->edge.left);
+ if (zone->edge.right) ecore_x_window_free(zone->edge.right);
+ if (zone->corner.left_bottom) ecore_x_window_free(zone->corner.left_bottom);
+ if (zone->corner.left_top) ecore_x_window_free(zone->corner.left_top);
+ if (zone->corner.top_left) ecore_x_window_free(zone->corner.top_left);
+ if (zone->corner.top_right) ecore_x_window_free(zone->corner.top_right);
+ if (zone->corner.right_top) ecore_x_window_free(zone->corner.right_top);
+ if (zone->corner.right_bottom) ecore_x_window_free(zone->corner.right_bottom);
+ if (zone->corner.bottom_right) ecore_x_window_free(zone->corner.bottom_right);
+ if (zone->corner.bottom_left) ecore_x_window_free(zone->corner.bottom_left);
/* Delete the object event callbacks */
evas_object_event_callback_del(zone->bg_event_object,
ecore_event_handler_del(eh);
e_grabinput_release(cfdata->locals.bind_win, cfdata->locals.bind_win);
- ecore_x_window_del(cfdata->locals.bind_win);
+ ecore_x_window_free(cfdata->locals.bind_win);
cfdata->locals.bind_win = 0;
e_object_del(E_OBJECT(cfdata->locals.dia));
}
cfdata->locals.handlers = NULL;
e_grabinput_release(cfdata->locals.bind_win, cfdata->locals.bind_win);
- ecore_x_window_del(cfdata->locals.bind_win);
+ ecore_x_window_free(cfdata->locals.bind_win);
cfdata->locals.bind_win = 0;
e_object_del(E_OBJECT(cfdata->locals.dia));
ecore_x_window_show(input_window);
if (!e_grabinput_get(input_window, 1, input_window))
{
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
input_window = 0;
return 0;
}
EINA_LIST_FREE(handlers, ev)
ecore_event_handler_del(ev);
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
e_grabinput_release(input_window, input_window);
input_window = 0;
free(cmd_buf);
ecore_event_handler_del(handle);
if (esw->animator) ecore_animator_del(esw->animator);
if (esw->themedir) evas_stringshare_del(esw->themedir);
- ecore_x_window_del(esw->clickwin);
+ ecore_x_window_free(esw->clickwin);
e_object_del(E_OBJECT(esw->popup));
free(esw);
}
}
if (esw->animator) ecore_animator_del(esw->animator);
if (esw->themedir) evas_stringshare_del(esw->themedir);
- ecore_x_window_del(esw->clickwin);
+ ecore_x_window_free(esw->clickwin);
e_object_del(E_OBJECT(esw->popup));
free(esw);
}
_system_unreq_state();
if (coverwin)
{
- ecore_x_window_del(coverwin);
+ ecore_x_window_free(coverwin);
coverwin = 0;
}
if (suspend_timer)
esl = locks->data;
e_object_del(E_OBJECT(esl->popup));
- ecore_x_window_del(esl->win);
+ ecore_x_window_free(esl->win);
free(esl);
locks = eina_list_remove_list(locks, locks);
}
if (ess->animator) ecore_animator_del(ess->animator);
if (ess->themedir) evas_stringshare_del(ess->themedir);
if (ess->default_title) evas_stringshare_del(ess->default_title);
- if (ess->clickwin) ecore_x_window_del(ess->clickwin);
+ if (ess->clickwin) ecore_x_window_free(ess->clickwin);
e_object_del(E_OBJECT(ess->popup));
free(ess);
}
ecore_event_handler_del(handle);
if (esw->animator) ecore_animator_del(esw->animator);
if (esw->themedir) evas_stringshare_del(esw->themedir);
- ecore_x_window_del(esw->clickwin);
+ ecore_x_window_free(esw->clickwin);
e_object_del(E_OBJECT(esw->popup));
free(esw);
}
ecore_event_handler_del(handle);
if (esw->animator) ecore_animator_del(esw->animator);
if (esw->themedir) evas_stringshare_del(esw->themedir);
- ecore_x_window_del(esw->clickwin);
+ ecore_x_window_free(esw->clickwin);
e_object_del(E_OBJECT(esw->popup));
free(esw);
}
static void
_mixer_popup_input_window_destroy(E_Mixer_Instance *inst)
{
- ecore_x_window_del(inst->ui.input.win);
+ ecore_x_window_free(inst->ui.input.win);
inst->ui.input.win = 0;
ecore_event_handler_del(inst->ui.input.mouse_up);
ecore_x_window_show(input_window);
if (!e_grabinput_get(input_window, 0, input_window))
{
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
input_window = 0;
return 0;
}
ecore_event_handler_del(handlers->data);
handlers = eina_list_remove_list(handlers, handlers);
}
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
e_grabinput_release(input_window, input_window);
input_window = 0;
ecore_x_window_show(input_window);
if (!e_grabinput_get(input_window, 1, input_window))
{
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
input_window = 0;
return 0;
}
if (!popup)
{
e_grabinput_release(input_window, input_window);
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
input_window = 0;
return 0;
}
e_object_del(E_OBJECT(popup));
popup = NULL;
e_grabinput_release(input_window, input_window);
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
input_window = 0;
}
ecore_x_window_show(input_window);
if (!e_grabinput_get(input_window, 0, input_window))
{
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
input_window = 0;
return 0;
}
ecore_event_handler_del(handlers->data);
handlers = eina_list_remove_list(handlers, handlers);
}
- ecore_x_window_del(input_window);
+ ecore_x_window_free(input_window);
e_grabinput_release(input_window, input_window);
input_window = 0;
if (warp_timer)