Fix XDG application shrinks 95/15595/5
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 23 Jul 2018 11:19:47 +0000 (20:19 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Tue, 24 Jul 2018 07:56:19 +0000 (07:56 +0000)
commit320122bc177cccd69509d284a4c68c79a23e1753
treef21ec9e6e958c90fa4add2547dd5a8ad415f9b17
parentf25e25114ab2ef7e3019bfe4ff9b65ff93c41b90
Fix XDG application shrinks

WM set surface source size output_size(1080X1920) in case of using runXDG.
Then, XDG surface shrinks because dest size(1080X1488) is set and
the surface is scaled.

On the other hand, XDG application's source size is w = 0, h = 0
on startup from ivi-wm, so WM has to set source size in somewhere.
So this patch fixes WM set XDG surface source size.

This is short term solution because WM set source rectangle size
every state changes.

Bug-AGL: SPEC-1584

Change-Id: I128db0b7feaba6b51e13c467e91d5aff6adaf0a7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/wayland_ivi_wm.cpp
src/window_manager.cpp