diff options
-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, |