diff options
-rw-r--r-- | staging/ext-action-binder/ext-action-binder-v1.xml | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/staging/ext-action-binder/ext-action-binder-v1.xml b/staging/ext-action-binder/ext-action-binder-v1.xml index d24d674..76f05a9 100644 --- a/staging/ext-action-binder/ext-action-binder-v1.xml +++ b/staging/ext-action-binder/ext-action-binder-v1.xml @@ -56,6 +56,23 @@ <description summary="create a binding"/> <arg name="binding" type="new_id" interface="ext_action_binding_v1" summary="the new binding" /> </request> + + <request name="bind"> + <description summary="binds all created bindings"> + Binds all bindings created from this interface. + This request may be called again if new bindings are created, + already bound bindings are unaffected. + + After calling bind, either the "bound" or "rejected" event is sent + for each binding created. + + If no action has been set for any binding, the error "invalid_binding" is raised. + </description> + </request> + + <enum name="error"> + <entry name="invalid_binding" value="0" summary="the binding has no action set"/> + </enum> </interface> <interface name="ext_action_binding_v1" version="1"> @@ -123,19 +140,6 @@ <arg name="trigger" type="string" summary="a trigger that the client would like to trigger the action"/> </request> - <request name="bind"> - <description summary="binds an action"> - Bind an action to the object. this is a one-time request. - After calling bind, either the "bound" or "rejected" event is sent. - Subsequent calls to bind should be ignored. - If no action has been set for the binding, the error "invalid_action" is raised. - </description> - </request> - - <enum name="error"> - <entry name="invalid_action" value="0" summary="the binding has no action set"/> - </enum> - <event name="bound"> <description summary="the compositor bound the binding to an action"> After the compositor processes a bind request, if the action was |