aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-12 18:16:26 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-12 18:16:26 +0900
commit1024e4747621cb4b45384afef671df6d15a9e2c0 (patch)
tree0be1956cf01e7092a936d8f37512d7acdddcb867 /src/app.hpp
parent924df5ddaf2f79cb4e7597661acc3840f9844a59 (diff)
Bug Fix : vector contents vanishes
When Window Manager handles applist as pointer(smart pointer), the contents of vector vanishes when callback function accesses it. I don't know how to fix, then move applist out to global variable in app.cpp In this way, vecotr contents doesn't vanish Change-Id: Ic1cbb12279c82b6debbd608dbb7fb37089f92538 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.hpp b/src/app.hpp
index c46512f..2fe4383 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -291,7 +291,8 @@ struct App
void lm_enddraw(const char *drawing_name);
private:
- std::unique_ptr<wm::AppList> app_list;
+ //std::unique_ptr<wm::AppList> app_list;
+ //AppList *app_list;
};
} // namespace wm