aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-20 14:27:17 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-20 14:27:17 +0900
commitc4d50e105fd1204bdf6cac88300d667c1af3d682 (patch)
tree4620886525edb29127eaa4ee689fa3c3d804b210
parent963a1ce9c453c61da266e70e9c559a801bc96c74 (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.cpp7
-rw-r--r--src/app.hpp1
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,