Skip to content

Commit

Permalink
ignore EventViewer in frontmost_application_changed_callback
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Jul 9, 2017
1 parent 09d37f9 commit 56a38c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/console_user_server/include/connection_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ class connection_manager final {

void frontmost_application_changed_callback(const std::string& bundle_identifier,
const std::string& file_path) {
if (bundle_identifier == "org.pqrs.Karabiner.EventViewer" ||
bundle_identifier == "org.pqrs.Karabiner-EventViewer") {
return;
}

if (grabber_client_) {
grabber_client_->frontmost_application_changed(bundle_identifier, file_path);
}
Expand Down

0 comments on commit 56a38c9

Please sign in to comment.