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|*)