diff options
author | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp> | 2014-09-12 19:03:30 -0700 |
---|---|---|
committer | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2014-09-19 13:19:07 +0900 |
commit | 278437417d1ac0958a800eecfebd2a388d6d9ca7 (patch) | |
tree | 08f2e17ca3c157ab7b59031f01146265b34af80e | |
parent | d0578528443befcbacbe6406a5ff1da9a3d2ea08 (diff) | |
download | wayland-ivi-extension-278437417d1ac0958a800eecfebd2a388d6d9ca7.tar.gz |
ivi-application.xml: apply the latest protocol from weston-ivi-shell1.2.0
- Remove warning events. This is notified to ivi-controller by
callback now.
- Add configure event to suggest resize of surface. When ivi-controller
changes size of ivi_surface, client will receive this event.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
-rw-r--r-- | protocol/ivi-application.xml | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/protocol/ivi-application.xml b/protocol/ivi-application.xml index 833fd38..b06ae6c 100644 --- a/protocol/ivi-application.xml +++ b/protocol/ivi-application.xml @@ -42,34 +42,9 @@ <arg name="visibility" type="int"/> </event> - <enum name="warning_code"> - <description summary="possible warning codes returned by ivi compositor"> - These define all possible warning codes returned by ivi compositor on server-side warnings. - invalid_wl_surface: - - wl_surface already has a another role. - - wl_surface is destroyed before the ivi_surface is destroyed. - ivi_id_in_use: ivi_id is already assigned by another application. - </description> - <entry name="invalid_wl_surface" value="1" summary="wl_surface is invalid"/> - <entry name="ivi_id_in_use" value="2" summary="ivi_id is in use and can not be shared"/> - </enum> - - <event name="warning"> - <description summary="server-side warning detected"> - The ivi compositor encountered warning while processing a request by this - application. The warning is defined by argument warning_code and optional - warning_text. If the warning is detected, client shall destroy the ivi_surface - object. - - When a warning event is sent, the compositor turns the ivi_surface object inert. - The ivi_surface will not deliver further events, all requests on it are ignored - except 'destroy', and the association to the ivi_id is removed. The client - should destroy the ivi_surface object. If an inert ivi_surface object is used as - an argument to any other object's request, that request will [produce a fatal - error / produce a warning / be ignored]. - </description> - <arg name="warning_code" type="int"/> - <arg name="warning_text" type="string" allow-null="true"/> + <event name="configure"> + <arg name="width" type="int"/> + <arg name="height" type="int"/> </event> </interface> |