Mercurial > dwindows
changeset 956:a3e4cebf3c99
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.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 02 May 2011 01:45:16 +0000 |
parents | 8b73a45ae424 |
children | beed3e7f9d4b |
files | os2/dw.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; } }