diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-06-12 18:16:26 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-06-12 18:16:26 +0900 |
commit | 1024e4747621cb4b45384afef671df6d15a9e2c0 (patch) | |
tree | 0be1956cf01e7092a936d8f37512d7acdddcb867 /src/app.hpp | |
parent | 924df5ddaf2f79cb4e7597661acc3840f9844a59 (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.hpp | 3 |
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 |