Patch by Kim Shinwoo
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@65425
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
/* Mouse input notifications */
case WM_LBUTTONDOWN:
INF("left button down message");
+ SetCapture(window);
_ecore_win32_event_handle_button_press(data, 1);
return 0;
case WM_MBUTTONDOWN:
INF("left button up message");
+ ReleaseCapture();
w = (Ecore_Win32_Window *)GetWindowLongPtr(window, GWLP_USERDATA);
if (w->drag.dragging)
{
- ReleaseCapture();
w->drag.dragging = 0;
return 0;
}