Mercurial > dwindows
diff win/dw.c @ 1221:10f5b8645975
Fixes to allow non-toplevel window handles in dw_taskbar_insert() on Windows.
Also various code and readme cleanups.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 10 Oct 2011 02:04:17 +0000 |
parents | e16e7c51b6c7 |
children | 437b045a3b07 |
line wrap: on
line diff
--- a/win/dw.c Mon Oct 10 00:40:22 2011 +0000 +++ b/win/dw.c Mon Oct 10 02:04:17 2011 +0000 @@ -2300,6 +2300,7 @@ /* call our standard Windows procedure */ rcode = _wndproc(hWnd, msg, mp1, mp2); break; + case WM_USER+2: case WM_LBUTTONUP: case WM_MBUTTONUP: case WM_RBUTTONUP: @@ -2473,7 +2474,7 @@ if(strcmp(tmpbuf, FRAMECLASSNAME) == 0) cinfo = &(((Box *)cinfo)->cinfo); - if ( msg == WM_MOUSEMOVE ) + if ( msg == WM_MOUSEMOVE || msg == WM_USER+2 ) ret = _wndproc(hWnd, msg, mp1, mp2); if (cinfo)