diff --git a/ChangeLog b/ChangeLog index 088dd08..27c559a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2021-12-11 master +- Enhancements: + - Added command to refresh executors (issue #747) 2021-12-04 17.0.2 - Fixes: - On dual monitor, when minimizing Chrome window it minimizes on the wrong monitor panel (issue #818) diff --git a/src/main.c b/src/main.c index 127c1b3..7b2c610 100644 --- a/src/main.c +++ b/src/main.c @@ -550,8 +550,10 @@ void handle_x_event(XEvent *e) memcpy(name, e->xclient.data.b, sizeof(e->xclient.data.b)); for (GList *l = panel_config.execp_list; l; l = l->next) { Execp *execp = (Execp *)l->data; - if (strncmp(name, execp->backend->name, sizeof(execp->backend->name) - 1) == 0) + if (strncmp(name, execp->backend->name, sizeof(execp->backend->name) - 1) == 0) { + fprintf(stderr, "tint2: Refreshing executor: %s\n", name); execp_force_update(execp); + } } } break;