forked from enlightenment/enlightenment
cleanups for screen_send_by action, no functional changes
SVN revision: 74038
This commit is contained in:
parent
b528baa483
commit
17a2461427
|
@ -1676,20 +1676,17 @@ ACT_FN_GO(screen_send_to, )
|
|||
|
||||
ACT_FN_GO(screen_send_by, )
|
||||
{
|
||||
E_Zone *zone;
|
||||
E_Zone *zone, *zone2;
|
||||
int scr = 0;
|
||||
|
||||
zone = _e_actions_zone_get(obj);
|
||||
if (!zone) zone = e_util_zone_current_get(e_manager_current_get());
|
||||
if (zone)
|
||||
{
|
||||
if (params)
|
||||
{
|
||||
int scr = 0;
|
||||
|
||||
if (sscanf(params, "%i", &scr) == 1)
|
||||
{
|
||||
E_Zone *zone2 = NULL;
|
||||
if (!zone) return;
|
||||
if (!params) return;
|
||||
|
||||
errno = 0;
|
||||
scr = strtol(params, NULL, 10);
|
||||
if (errno) return;
|
||||
if (eina_list_count(e_manager_list()) > 1)
|
||||
{
|
||||
scr += zone->container->num;
|
||||
|
@ -1711,9 +1708,6 @@ ACT_FN_GO(screen_send_by, )
|
|||
zone2->y + (zone2->h / 2));
|
||||
e_desk_last_focused_focus(e_desk_current_get(zone2));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#define ZONE_DESK_ACTION(con_num, zone_num, zone, act) \
|
||||
|
|
Loading…
Reference in New Issue