aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-04-01 11:59:03 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-04-01 11:59:03 +0900
commit3526229e9b619c53345f049bc4da2345c3bd9167 (patch)
tree40d69cbe2c2066345dc31c612b07cb4515dad36b /src
parent3570009a4073c5c1cc9a75dc93d68551bc34c48a (diff)
Fix redefine layer id
Fix redefine layer id. Change-Id: I40cdde84ed03d9de4e29e14b6441586dedee996c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/window_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index 1e3a926..f9070f6 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -167,7 +167,7 @@ result<int> WindowManager::api_request_surface(char const *appid, char const *dr
if(!g_app_list.contains(str_id))
{
- unsigned lid = this->generateLayerForClient(role);
+ lid = this->generateLayerForClient(role);
if (lid == 0)
{
return Err<int>("Designated role does not match any role, fallback is disabled");