add another check for vmware windows, ticket #1057

This commit is contained in:
Mike Blumenkrantz 2013-04-25 11:51:19 +01:00
parent 1da8387c2f
commit 52cfa36ac5
3 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2013-04-25 Mike Blumenkrantz
* improve efm mouse movement detection for icons
* add check for vmware window in another spot to disable key remapping
2013-04-09 Rafael Antognolli

1
NEWS
View File

@ -11,6 +11,7 @@ Removed:
Improvements:
* improve efm mouse movement detection for icons
* add check for vmware window in another spot to disable key remapping
Fixes:

View File

@ -7321,7 +7321,8 @@ _e_border_eval0(E_Border *bd)
pclass = bd->client.icccm.class;
bd->client.icccm.name = eina_stringshare_add(nname);
bd->client.icccm.class = eina_stringshare_add(nclass);
if (bd->client.icccm.class && (!strcmp(bd->client.icccm.class, "Vmplayer")))
if ((!e_util_strcasecmp(bd->client.icccm.class, "vmplayer")) ||
(!e_util_strcasecmp(bd->client.icccm.class, "vmware")))
e_bindings_mapping_change_enable(EINA_FALSE);
free(nname);
free(nclass);