discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=09d9384f1d0e280364b69350707a24043dc340f5

commit 09d9384f1d0e280364b69350707a24043dc340f5
Author: Toan Pham <[email protected]>
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.
    
    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 7183129..ca66311 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();

-- 


Reply via email to