From 09d9384f1d0e280364b69350707a24043dc340f5 Mon Sep 17 00:00:00 2001 From: Toan Pham Date: Thu, 11 Jun 2015 14:38:10 -0400 Subject: [PATCH] Changed search pattern to focus window by name to case-insensitive. Summary: Sometimes a window has a name that's not like the application name, for example. chromium-browser application will have a window name: Chromium-browser. Most users will try to match the window name with "chromium-browser", but it wont work b/c the e's window name match is case sensitive. Most users, would not know that the window name of chrome is "Chromium-browser", so it is pretty much impossible for them to setup a focus-to-window-name binding properly. Reviewers: zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2645 --- src/bin/e_actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index 7183129a1..ca66311df 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -1141,7 +1141,7 @@ window_jump_to(const char *params) EINA_LIST_FOREACH(l, ll, ec) { if (!ec->icccm.name) continue; - if (strcmp(ec->icccm.name, params)) continue; + if (strcasecmp(ec->icccm.name, params)) continue; /* Jump to the screen the window is on if it isn't on the current screen but * only if we don't have to warp the pointer anyway */ current_zone = e_zone_current_get();