aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland_ivi_wm.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-30 19:57:34 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-30 19:57:34 +0900
commit50c81e80a48329b06775580b9bbda7ebb247d16b (patch)
treedbdfefc8b1871a2088c3d41755ee6027f09e6cfc /src/wayland_ivi_wm.cpp
parent3d1703f9a5c9d6a356b561ea7528c70a1dc4fe2d (diff)
Merge set_role_pid_ver
Change-Id: Ib827fcd0d28c472d6b9daeac5524be7d915ff487 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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wayland_ivi_wm.cpp b/src/wayland_ivi_wm.cpp
index 522295d..a059491 100644
--- a/src/wayland_ivi_wm.cpp
+++ b/src/wayland_ivi_wm.cpp
@@ -536,6 +536,11 @@ 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)
+{
+ 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);
@@ -609,6 +614,7 @@ void controller::surface_stats_received(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)