discomfitor pushed a commit to branch master.

commit a36fde91f65fe8aecc663d020f49b352e2605318
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jul 3 09:54:55 2013 +0100

    fix border mouse actions on modal dialog parents
---
 src/bin/e_border.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 2c7f6fe..7d3b0b4 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -6472,7 +6472,7 @@ _e_border_cb_mouse_x_wheel(void *d EINA_UNUSED, int t 
EINA_UNUSED, Ecore_Event_M
      bd = action_border;
    else
      {
-        bd = e_border_find_by_client_window(ev->window);
+        bd = e_border_find_by_window(ev->window);
         if (!bd) return ECORE_CALLBACK_RENEW;
         /* event_window here should be bd->win if it isn't the same as window, 
not sure if this can NOT happen */
         if ((ev->window != ev->event_window) && (bd->win != ev->event_window))
@@ -6570,7 +6570,7 @@ _e_border_cb_mouse_x_down(void *d EINA_UNUSED, int t 
EINA_UNUSED, Ecore_Event_Mo
      bd = action_border;
    else
      {
-        bd = e_border_find_by_client_window(ev->window);
+        bd = e_border_find_by_window(ev->window);
         if (!bd) return ECORE_CALLBACK_RENEW;
         /* event_window here should be bd->win if it isn't the same as window, 
not sure if this can NOT happen */
         if ((ev->window != ev->event_window) && (bd->win != ev->event_window))
@@ -6642,7 +6642,7 @@ _e_border_cb_mouse_x_up(void *d EINA_UNUSED, int t 
EINA_UNUSED, Ecore_Event_Mous
      bd = action_border;
    else
      {
-        bd = e_border_find_by_client_window(ev->window);
+        bd = e_border_find_by_window(ev->window);
         if (!bd) return ECORE_CALLBACK_RENEW;
         /* event_window here should be bd->win if it isn't the same as window, 
not sure if this can NOT happen */
         if ((ev->window != ev->event_window) && (bd->win != ev->event_window))

-- 

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

Build for Windows Store.

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

Reply via email to