diff options
-rw-r--r-- | src/libwindowmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp index dfb8631..21f7645 100644 --- a/src/libwindowmanager.cpp +++ b/src/libwindowmanager.cpp @@ -690,6 +690,8 @@ 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); } } } |