discomfitor pushed a commit to branch master.

commit 2353c5f2ac457cab6ce3ff4a3e8ee0ac000b953b
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Apr 25 11:50:48 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 1b54642..b7fa787 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
         * added deskmirror
         * improve efm mouse movement detection for icons
+        * add check for vmware window in another spot to disable key remapping
 
 2013-04-19 Mike Blumenkrantz
 
diff --git a/NEWS b/NEWS
index 69c0f72..0295b25 100644
--- a/NEWS
+++ b/NEWS
@@ -135,6 +135,7 @@ Improvements:
     * startup splash screen moved to compositor canvas
     * added new modes for notification display on multiple monitors
     * improve efm mouse movement detection for icons
+    * add check for vmware window in another spot to disable key remapping
 
 Fixes:
     * IBar menu didn't allow to configure different icon sources, show 
contents menu even on empty IBar.
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index d4b8d9b..ea88051 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -7150,7 +7150,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