using an action to send the mouse to another screen now also sets window focus on that screen

ticket #863


SVN revision: 73285
This commit is contained in:
Mike Blumenkrantz 2012-07-04 13:25:09 +00:00
parent d69338abd4
commit f613ce7d4e
1 changed files with 12 additions and 6 deletions

View File

@ -1584,9 +1584,12 @@ ACT_FN_GO(screen_send_to, )
zone2 = e_util_container_zone_number_get(0, scr);
}
if ((zone2) && (zone != zone2))
ecore_x_pointer_warp(zone2->container->win,
zone2->x + (zone2->w / 2),
zone2->y + (zone2->h / 2));
{
ecore_x_pointer_warp(zone2->container->win,
zone2->x + (zone2->w / 2),
zone2->y + (zone2->h / 2));
e_zone_desk_flip_to(zone2, zone2->x + (zone2->w / 2), zone2->y + (zone2->h / 2));
}
}
}
}
@ -1623,9 +1626,12 @@ ACT_FN_GO(screen_send_by, )
zone2 = e_util_container_zone_number_get(0, scr);
}
if ((zone2) && (zone != zone2))
ecore_x_pointer_warp(zone2->container->win,
zone2->x + (zone2->w / 2),
zone2->y + (zone2->h / 2));
{
ecore_x_pointer_warp(zone2->container->win,
zone2->x + (zone2->w / 2),
zone2->y + (zone2->h / 2));
e_zone_desk_flip_to(zone2, zone2->x + (zone2->w / 2), zone2->y + (zone2->h / 2));
}
}
}
}