discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a9415f696b94bb57de34c7a42fc098eabdd0e643

commit a9415f696b94bb57de34c7a42fc098eabdd0e643
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 31 14:02:25 2016 -0400

    allow some client zone/desk move actions to occur on action client
---
 src/bin/e_actions.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c
index b3ff169..b51300c 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -1285,6 +1285,8 @@ ACT_FN_GO(window_desk_move_by, )
    if (obj->type != E_CLIENT_TYPE)
      {
         obj = E_OBJECT(e_client_focused_get());
+        if (!obj)
+          obj = E_OBJECT(e_client_action_get());
         if (!obj) return;
      }
 
@@ -1345,6 +1347,8 @@ ACT_FN_GO(window_zone_move_by, )
 
    if (!params) return;
    if (!obj) obj = E_OBJECT(e_client_focused_get());
+   if (!obj)
+     obj = E_OBJECT(e_client_action_get());
    if (!obj) return;
    if (obj->type != E_CLIENT_TYPE)
      {
@@ -1391,6 +1395,8 @@ ACT_FN_GO(window_desk_move_to, )
    if (obj->type != E_CLIENT_TYPE)
      {
         obj = E_OBJECT(e_client_focused_get());
+        if (!obj)
+          obj = E_OBJECT(e_client_action_get());
         if (!obj) return;
      }
 

-- 


Reply via email to