From 60734e0151fafd5c34e4fe84bbb9d15aea54eb0d Mon Sep 17 00:00:00 2001 From: Chris Lee <@klee93> Date: Sun, 12 Dec 2021 02:38:23 +0100 Subject: [PATCH] changelog for new feature --- ChangeLog | 3 +++ src/main.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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;