From: devilhorns Date: Tue, 28 Feb 2012 22:51:01 +0000 (+0000) Subject: Ecore_Wayland: Fix resize animation (little arrow @ bottom) not X-Git-Tag: 2.0_alpha~68^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a53dc2b9d2d4aded1f9659f3f036bc09add8e6c;p=framework%2Fuifw%2Fecore.git Ecore_Wayland: Fix resize animation (little arrow @ bottom) not showing up. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68523 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index d99c708..398a45a 100644 --- a/src/lib/ecore_wayland/ecore_wl_input.c +++ b/src/lib/ecore_wayland/ecore_wl_input.c @@ -221,7 +221,10 @@ _ecore_wl_input_cb_pointer_focus(void *data, struct wl_input_device *input_devic win = input->pointer_focus; if ((win) && (win->surface != surface)) - _ecore_wl_input_pointer_focus_remove(input, timestamp); + { + if (!input->button) + _ecore_wl_input_pointer_focus_remove(input, timestamp); + } if (surface) { @@ -235,9 +238,9 @@ _ecore_wl_input_cb_pointer_focus(void *data, struct wl_input_device *input_devic _ecore_wl_input_mouse_up_send(input, timestamp); input->button = 0; } + else + _ecore_wl_input_mouse_in_send(input, timestamp); } - else - _ecore_wl_input_mouse_in_send(input, timestamp); } static void