This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit dceb969857a4a61fff2e1c7f86a9d9ade7af4e87
Author: l05o <ezerotven+e...@gmail.com>
AuthorDate: Sat Jun 4 13:27:12 2022 +0100

    e-remote - added -window-sendtodesktop
---
 src/bin/tools/remote/enlightenment_remote | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/src/bin/tools/remote/enlightenment_remote b/src/bin/tools/remote/enlightenment_remote
index 9a4b3aa6b..61d1e31da 100755
--- a/src/bin/tools/remote/enlightenment_remote
+++ b/src/bin/tools/remote/enlightenment_remote
@@ -52,6 +52,7 @@ OPTIONS:
   -window-uniconify OPT1 Request uniconify of window with xwin id OPT1
   -window-maximize OPT1 Request maximize of window with xwin id OPT1
   -window-unmaximize OPT1 Request unmaximize of window with xwin id OPT1
+  -window-sendtodesktop OPT1 OPT2 OPT3 OPT4 Send window to ZONE DESK_X DESK_Y
 
 Note: This is a new implementation of enlightenment_remote,
       for more information about it see the '--help-new' option.
@@ -175,6 +176,16 @@ ERGMST(){
    unset result value
 }
 
+#===  FUNCTION  ================================================================
+#          NAME:  ERCIIII
+#   DESCRIPTION:  eremote call with int, int, int, int parameter
+#    PARAMETERS:  interface/method call, int, int, int, int
+#       RETURNS:
+#===============================================================================
+ERCIIII(){
+   dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" int32:"$4" int32:"$5"
+}
+
 #===  FUNCTION  ================================================================
 #          NAME:  ERCIIIS
 #   DESCRIPTION:  eremote call with int, int, int, string parameter
@@ -441,6 +452,13 @@ er_window_unmaximize(){
    ERCI org.enlightenment.wm.Window.Unmaximize "$2"
 }
 
+#-------------------------------------------------------------------------------
+#   E Window sendtodesktop
+#-------------------------------------------------------------------------------
+er_window_sendtodesktop(){
+   ERCIIII org.enlightenment.wm.Window.SendToDesktop "$2" "$3" "$4" "$5"
+}
+
 
 #===  FUNCTION  ================================================================
 #          NAME:  Main
@@ -545,6 +563,9 @@ case "$1" in
    -window-unmaximize)
       er_window_unmaximize "$@"
    ;;
+   -window-sendtodesktop)
+      er_window_sendtodesktop "$@"
+   ;;
 
    # This entry needs to be always the last option of the list (*)
    -h|-help|--help|--h|*)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to