diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-06-20 14:27:17 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-06-20 14:27:17 +0900 |
commit | c4d50e105fd1204bdf6cac88300d667c1af3d682 (patch) | |
tree | 4620886525edb29127eaa4ee689fa3c3d804b210 | |
parent | 963a1ce9c453c61da266e70e9c559a801bc96c74 (diff) |
Remove deactivate_main_surface API
This is not used anymore
Change-Id: Iacc14a11802767a4212e08f4a46772e57bf91bb5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r-- | src/app.cpp | 7 | ||||
-rw-r--r-- | src/app.hpp | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/app.cpp b/src/app.cpp index f311bcf..ba64671 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -1606,13 +1606,6 @@ void App::deactivate(int id) } } -void App::deactivate_main_surface() -{ - this->layers.main_surface = -1; - std::string appid = "HomeScreen"; - this->api_deactivate_surface(appid.c_str(), this->layers.main_surface_name.c_str(), [](const char *) {}); -} - bool App::can_split(struct LayoutState const &state, int new_id) { if (state.main != -1 && state.main != new_id) diff --git a/src/app.hpp b/src/app.hpp index ded952a..a6608e0 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -286,7 +286,6 @@ struct App void activate(int id); void deactivate(int id); - void deactivate_main_surface(); bool can_split(struct LayoutState const &state, int new_id); void try_layout(struct LayoutState &state, |