From f613ce7d4ec8316863ed8df75a525a8c3f684788 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 4 Jul 2012 13:25:09 +0000 Subject: [PATCH] using an action to send the mouse to another screen now also sets window focus on that screen ticket #863 SVN revision: 73285 --- src/bin/e_actions.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index 212a5cd3c..07ebcfbdd 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -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)); + } } } }