diff options
author | 2018-07-13 13:21:34 +0900 | |
---|---|---|
committer | 2018-07-13 13:54:08 +0900 | |
commit | 1925bd207a01eeabc98c5894656fd5af34a468a5 (patch) | |
tree | 1833186ad46457cacb57d009c29b5924c3809dd6 /src/wayland_ivi_wm.cpp | |
parent | 67f414f67ee22ddf40003d1be3fa1d0cb13deb8f (diff) |
Merge "set_role_pid_ver"
Change-Id: If982a22e72cee32c2d4d5445492526d3abb3ab69
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wayland_ivi_wm.cpp')
-rw-r--r-- | src/wayland_ivi_wm.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wayland_ivi_wm.cpp b/src/wayland_ivi_wm.cpp index 75ecbbd..1e0082f 100644 --- a/src/wayland_ivi_wm.cpp +++ b/src/wayland_ivi_wm.cpp @@ -536,6 +536,14 @@ void controller::create_screen(struct wl_output *output) this->screen = std::make_unique<struct screen>(0, this, output); } +void controller::get_surface_properties(uint32_t surface_id, int param) +{ + if(param == 0){ + //param = IVI_WM_PARAM_OPACITY | IVI_WM_PARAM_VISIBILITY | IVI_WM_PARAM_SIZE; + } + ivi_wm_surface_get(this->proxy.get(), surface_id, param); +} + void controller::layer_created(uint32_t id) { HMI_DEBUG("wm", "compositor::controller @ %p layer %u (%x)", this->proxy.get(), id, id); @@ -610,6 +618,7 @@ void controller::surface_stats_received(struct surface *s, uint32_t surface_id, { HMI_DEBUG("wm", "compositor::surface %s @ %d f %u pid %u", __func__, surface_id, frame_count, pid); + this->chooks->surface_properties(surface_id, pid); } void controller::surface_created(uint32_t id) |