# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1304300716 0 # Node ID a3e4cebf3c99cf0764ddc35732194cab0e8e2ebc # Parent 8b73a45ae42471642df910a05f15c0a748b6c8bd Fixed incorrectly using _get_frame_height() instead of _get_height() which resulted in bogus Y values being passed in motion notify callbacks on OS/2. diff -r 8b73a45ae424 -r a3e4cebf3c99 os2/dw.c --- a/os2/dw.c Mon May 02 01:14:00 2011 +0000 +++ b/os2/dw.c Mon May 02 01:45:16 2011 +0000 @@ -2367,7 +2367,7 @@ if (WinGetKeyState(HWND_DESKTOP, VK_BUTTON3) & 0x8000) keys |= DW_BUTTON3_MASK; - result = motionfunc(tmp->window, x, _get_frame_height(tmp->window) - y, keys, tmp->data); + result = motionfunc(tmp->window, x, _get_height(hWnd) - y, keys, tmp->data); tmp = NULL; } }