aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-03-14 13:53:46 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-03-14 13:55:39 +0900
commit2586b2d3138c0f6b6735eb77cf1ebcce47ca1a2d (patch)
tree9bc5d3a3c02d58971a9cfaac488810ff745737b5 /src/window_manager.hpp
parenta0fa6394c0d8b7997343d6f2a44d9c2868f4be5f (diff)
Fix xdg-runcher doesn't show upflounder_6.0.5flounder/6.0.56.0.5flounder
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". This patch is backport of master. Bug-AGL: SPEC-2218 Change-Id: I448d84889a24647d4e620c4b8f041087e856da32 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r--src/window_manager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp
index ccec302..d13d5bb 100644
--- a/src/window_manager.hpp
+++ b/src/window_manager.hpp
@@ -135,7 +135,6 @@ struct TmpClient
unsigned layer;
};
-
class WindowManager
{
public:
@@ -195,6 +194,7 @@ class WindowManager
void processError(WMError error);
private:
+ unsigned generateLayerForClient(const std::string &role);
WMError setRequest(const std::string &appid, const std::string &role, const std::string &area,
Task task, unsigned *req_num);
WMError checkPolicy(unsigned req_num);