discomfitor pushed a commit to branch master.
Author: Toan Pham <tpham3...@gmail.com>
Date: Thu Jun 11 14:38:10 2015 -0400
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.
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 7183129..ca66311 100644
@@ -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
* only if we don't have to warp the pointer anyway */
current_zone = e_zone_current_get();