discomfitor pushed a commit to branch master.

commit 8b4802ad45b96fec704e43fe4139048b7fcf35d0
Author: Thomas Gstädtner <[email protected]>
Date:   Mon Jun 17 07:48:18 2013 +0100

    honor disable_all_pointer_warps in e_border_activate
---
 src/bin/e_border.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 0bcfa43..9ca38d2 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -10115,6 +10115,7 @@ e_border_activate(E_Border *bd, Eina_Bool just_do_it)
                 config dialogs when the main window gets focus.
                 causing the pointer to jump back and forth.  */
              if ((e_config->focus_policy != E_FOCUS_CLICK) && 
(!bd->new_client) &&
+                 (!e_config->disable_all_pointer_warps) &&
                  !(bd->client.icccm.name && !strcmp(bd->client.icccm.name, 
"VCLSalFrame")))
                ecore_x_pointer_warp(bd->zone->container->win,
                                     bd->x + (bd->w / 2), bd->y + (bd->h / 2));

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to