Fix xdg-runcher doesn't show up 95/20595/4
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Wed, 13 Mar 2019 09:02:37 +0000 (18:02 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Thu, 14 Mar 2019 04:01:46 +0000 (13:01 +0900)
commit464f20cc2a960052233c4e2cbc2bd7dd3876b7f7
tree6a5f93a935ac932c7188081a5854156f14239c24
parentd4b18f9152860b4fd8746e5098a75ad56dba1c7f
Fix xdg-runcher doesn't show up

xdg-runcher calls "subscribe" before requestSurface,
then windowmanager reject it because WMClient object
is not created yet.
This patch changes to register WMClient
if it is not created when App calls "subscribe".
Application doesn't need to care about the order of
"requestSurface" and "subscribe".

Bug-AGL: SPEC-2218

Change-Id: Ia82ff939dfdb2bbfd377bd50fd3d4b844451cd3b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/applist.cpp
src/applist.hpp
src/window_manager.cpp
src/window_manager.hpp
src/wm_client.cpp
src/wm_client.hpp