discomfitor pushed a commit to branch enlightenment-0.17.

commit 52cfa36ac540133f008dfaaf0d6695a72ef879dd
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Apr 25 11:51:19 2013 +0100

    add another check for vmware windows, ticket #1057
---
 ChangeLog          | 1 +
 NEWS               | 1 +
 src/bin/e_border.c | 3 ++-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0a893f8..0ad7d93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
diff --git a/NEWS b/NEWS
index c9b0d13..70b55e2 100644
--- a/NEWS
+++ b/NEWS
@@ -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:
 
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 7e653a9..9733ef7 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -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);

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to