discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 7a2d7cacb6ed4932e03ac3c911cf5c57e5724932
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 3d8d2c4..d2f1d71 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -1280,6 +1280,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;
      }
 
@@ -1340,6 +1342,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)
      {
@@ -1386,6 +1390,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