summaryrefslogtreecommitdiffstats
path: root/src/wayland_ivi_wm.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-27 10:02:47 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-27 17:25:47 +0900
commit3d1703f9a5c9d6a356b561ea7528c70a1dc4fe2d (patch)
treebb914429501b6caf6b1b95092b6dd656ffc4adbe /src/wayland_ivi_wm.hpp
parent7ee936736ec753346d8a1811a3c9c014d4be8b41 (diff)
Fix crashed application can re-launch
WM can't reset the state when application crashes, after the below commit. This patch fix the crashed application can re-launch. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/14871/ Bug-AGL: SPEC-1471 Change-Id: I46019b30cc8e9a341b4b681a0288f053b3ac1b30 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wayland_ivi_wm.hpp')
-rw-r--r--src/wayland_ivi_wm.hpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/wayland_ivi_wm.hpp b/src/wayland_ivi_wm.hpp
index ac9a7fc..d6b47af 100644
--- a/src/wayland_ivi_wm.hpp
+++ b/src/wayland_ivi_wm.hpp
@@ -292,29 +292,29 @@ struct controller : public wayland_proxy<struct ivi_wm>
void create_screen(struct wl_output *output);
// Events
- void surface_visibility_changed(struct surface *s, int32_t visibility);
- void surface_opacity_changed(struct surface *s, float opacity);
- void surface_source_rectangle_changed(struct surface *s, int32_t x, int32_t y,
+ void surface_visibility_changed(uint32_t id, int32_t visibility);
+ void surface_opacity_changed(uint32_t id, float opacity);
+ void surface_source_rectangle_changed(uint32_t id, int32_t x, int32_t y,
int32_t width, int32_t height);
- void surface_destination_rectangle_changed(struct surface *s, int32_t x, int32_t y,
+ void surface_destination_rectangle_changed(uint32_t id, int32_t x, int32_t y,
int32_t width, int32_t height);
void surface_created(uint32_t id);
- void surface_destroyed(struct surface *s, uint32_t surface_id);
+ void surface_destroyed(uint32_t surface_id);
void surface_error_detected(uint32_t object_id,
uint32_t error_code, char const *error_text);
- void surface_size_changed(struct surface *s, int32_t width, int32_t height);
- void surface_stats_received(struct surface *s, uint32_t surface_id,
+ void surface_size_changed(uint32_t id, int32_t width, int32_t height);
+ void surface_stats_received(uint32_t surface_id,
uint32_t frame_count, uint32_t pid);
- void surface_added_to_layer(struct surface *s, uint32_t layer_id, uint32_t surface_id);
+ void surface_added_to_layer(uint32_t layer_id, uint32_t surface_id);
- void layer_visibility_changed(struct layer *l, uint32_t layer_id, int32_t visibility);
- void layer_opacity_changed(struct layer *l, uint32_t layer_id, float opacity);
- void layer_source_rectangle_changed(struct layer *l, uint32_t layer_id, int32_t x, int32_t y,
+ void layer_visibility_changed(uint32_t layer_id, int32_t visibility);
+ void layer_opacity_changed(uint32_t layer_id, float opacity);
+ void layer_source_rectangle_changed(uint32_t layer_id, int32_t x, int32_t y,
int32_t width, int32_t height);
- void layer_destination_rectangle_changed(struct layer *l, uint32_t layer_id, int32_t x, int32_t y,
+ void layer_destination_rectangle_changed(uint32_t layer_id, int32_t x, int32_t y,
int32_t width, int32_t height);
void layer_created(uint32_t id);
- void layer_destroyed(struct layer *l, uint32_t layer_id);
+ void layer_destroyed(uint32_t layer_id);
void layer_error_detected(uint32_t object_id,
uint32_t error_code, char const *error_text);
};