summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libwindowmanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index c1bdbb8..2357252 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -692,8 +692,6 @@ void LibWindowmanager::Impl::event(char const *et, json_object *object) {
if (this->labels.find(label) != this->labels.end()) {
i->second(object);
- }else if (i->first == Event_Visible || i->first == Event_Invisible){
- i->second(object);
}
}
}