forked from enlightenment/enlightenment
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
This commit is contained in:
parent
ba39887b26
commit
09d9384f1d
|
@ -1141,7 +1141,7 @@ window_jump_to(const char *params)
|
||||||
EINA_LIST_FOREACH(l, ll, ec)
|
EINA_LIST_FOREACH(l, ll, ec)
|
||||||
{
|
{
|
||||||
if (!ec->icccm.name) continue;
|
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
|
/* 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 */
|
* only if we don't have to warp the pointer anyway */
|
||||||
current_zone = e_zone_current_get();
|
current_zone = e_zone_current_get();
|
||||||
|
|
Loading…
Reference in New Issue