summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:33 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:33 +0200
commit6de86f543d701f340d3f7cf2a37d72e60dd292f5 (patch)
tree16617333b117bef30326b809b262bdb0dfea1f3d /src
parent983d9f8a9eb0dde7f03621327007c9f084c10236 (diff)
App: remove some superflous debuglog()
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r--src/app.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/app.cpp b/src/app.cpp
index d371af1..36096a9 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -389,14 +389,11 @@ char const *App::activate_surface(char const *drawing_name) {
auto layer_id = this->layers.get_layer_id(*surface_id);
if (! layer_id) {
- logdebug("Surface %d has no associated layer!", *surface_id);
return "Surface is not on any layer!";
}
struct LayoutState &state = **this->layers.get_layout_state(*surface_id);
- logdebug("state @ %p = { %d, %d, %d }", &state, state.main, state.sub, state.s);
-
// disable layers that are above our current layer
for (auto const &l : this->layers.mapping) {
if (l.layer_id <= *layer_id) {
@@ -506,8 +503,6 @@ char const *App::deactivate_surface(char const *drawing_name) {
return nullptr;
}
- logdebug("state @ %p = { %d, %d, %d }", &state, state.main, state.sub, state.s);
-
if (state.main == *surface_id) {
if (state.sub != -1) {
this->emit_syncdraw(this->lookup_name(state.sub)->c_str());