Author: fireball Date: Fri Apr 23 12:02:09 2010 New Revision: 46999
URL: http://svn.reactos.org/svn/reactos?rev=46999&view=rev Log: - Target mouse events to a corresponding window. Fixes issues like inability to click radiobuttons, move resolution slider in desk.cpl, etc. See issue #5214 for more details.
Modified: branches/arwinss/reactos/dll/win32/winent.drv/mouse.c
Modified: branches/arwinss/reactos/dll/win32/winent.drv/mouse.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/winent... ============================================================================== --- branches/arwinss/reactos/dll/win32/winent.drv/mouse.c [iso-8859-1] (original) +++ branches/arwinss/reactos/dll/win32/winent.drv/mouse.c [iso-8859-1] Fri Apr 23 12:02:09 2010 @@ -191,9 +191,8 @@ GetCursorPos(&pt); }
- //hwnd = SwmGetWindowFromPoint(pt.x, pt.y); - - //FIXME("hwnd %x\n", hwnd); + /* get the window handle from cursor position */ + hwnd = SwmGetWindowFromPoint(pt.x, pt.y);
if (flags & MOUSEEVENTF_MOVE) {