summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generate-binding-glue.py6
-rw-r--r--src/app.cpp12
2 files changed, 0 insertions, 18 deletions
diff --git a/generate-binding-glue.py b/generate-binding-glue.py
index 3fd0828..7e003a5 100644
--- a/generate-binding-glue.py
+++ b/generate-binding-glue.py
@@ -127,12 +127,6 @@ API = {
],
},
{ 'name': 'list_drawing_names', },
- {
- 'name': 'demo_activate_surface',
- 'args': [ { 'name': 'surfaceid', 'type': 'uint32_t', 'jtype': 'int' } ]
- },
-
- { 'name': 'demo_activate_all' },
{ 'name': 'debug_status', },
{ 'name': 'debug_layers', },
diff --git a/src/app.cpp b/src/app.cpp
index e4a4c4d..a59adba 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -431,16 +431,12 @@ char const *App::deactivate_surface(char const *drawing_name) {
// | .__/|_| \___/_/\_\_|\___|\__,_| |_____| \_/ \___|_| |_|\__|___/
// |_|
void App::surface_created(uint32_t surface_id) {
- //surface_id >>= id_allocator::id_shift;
-
logdebug("surface_id is %u", surface_id);
this->surface_init_layout(surface_id);
}
void App::surface_removed(uint32_t surface_id) {
- //surface_id >>= id_allocator::id_shift;
-
logdebug("surface_id is %u", surface_id);
this->id_alloc.remove_id(surface_id);
@@ -575,14 +571,6 @@ binding_api::result_type binding_api::debug_terminate() {
return Ok(json_object_new_object());
}
-binding_api::result_type binding_api::demo_activate_surface(uint32_t s) {
- return Err<json_object *>("not implemented");
-}
-
-binding_api::result_type binding_api::demo_activate_all() {
- return Err<json_object *>("not implemented");
-}
-
// _ _ _ _ _
// ___ ___ _ __ | |_ _ __ ___ | | | ___ _ __ | |__ ___ ___ | | _____
// / __/ _ \| '_ \| __| '__/ _ \| | |/ _ \ '__|| '_ \ / _ \ / _ \| |/ / __|