aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller_hooks.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-02 15:34:24 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-02 15:38:25 +0900
commit6d11d35f86649511e6a5b4b8ab6b6ae13cb4d556 (patch)
tree79b1493010bbbc72df940dbfd46dd456bc5f10b6 /src/controller_hooks.hpp
parent3d1703f9a5c9d6a356b561ea7528c70a1dc4fe2d (diff)
Fix source rectangle changes every state change
Window Manager changes source rectangle size every state change. This patch changes it to set source rectangle first when the surface is created. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/15595/ Bug-AGL: SPEC-1584 Change-Id: Ia7429956053cfa18e6e82060f84f3b6fe755c0b1 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/controller_hooks.hpp')
-rw-r--r--src/controller_hooks.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/controller_hooks.hpp b/src/controller_hooks.hpp
index f259089..dd0a3aa 100644
--- a/src/controller_hooks.hpp
+++ b/src/controller_hooks.hpp
@@ -28,10 +28,9 @@ class WindowManager;
struct controller_hooks
{
- WindowManager *app;
+ WindowManager *wmgr;
void surface_created(uint32_t surface_id);
-
void surface_removed(uint32_t surface_id);
void surface_visibility(uint32_t surface_id, uint32_t v);
void surface_destination_rectangle(uint32_t surface_id, uint32_t x, uint32_t y, uint32_t w, uint32_t h);