clean up screen_send_to action: no functional changes
SVN revision: 73980
This commit is contained in:
parent
eccf13058a
commit
2abb446f08
|
@ -1641,19 +1641,17 @@ ACT_FN_GO(desk_linear_flip_to_all, )
|
|||
/***************************************************************************/
|
||||
ACT_FN_GO(screen_send_to, )
|
||||
{
|
||||
E_Zone *zone;
|
||||
E_Zone *zone, *zone2;
|
||||
int scr;
|
||||
|
||||
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 (!zone) return;
|
||||
if (!params) return;
|
||||
|
||||
if (sscanf(params, "%i", &scr) == 1)
|
||||
{
|
||||
E_Zone *zone2 = NULL;
|
||||
errno = 0;
|
||||
scr = strtol(params, NULL, 10);
|
||||
if (errno) return;
|
||||
|
||||
if (eina_list_count(e_manager_list()) > 1)
|
||||
{
|
||||
|
@ -1674,9 +1672,6 @@ ACT_FN_GO(screen_send_to, )
|
|||
zone2->y + (zone2->h / 2));
|
||||
e_desk_last_focused_focus(e_desk_current_get(zone2));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ACT_FN_GO(screen_send_by, )
|
||||
|
|
Loading…
Reference in New Issue