CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.6,1.7
Pierre Ossman <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29336/ServerExe/HookDll Modified Files: hookdll.c Log Message: Microsoft's docs say that WS_CHILD and WS_POPUP is an illegal combination, but they exist nonetheless. The resulting window is as if WS_CHILD wasn't set. Index: hookdll.c =================================================================== RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** hookdll.c 9 Mar 2006 16:13:26 -0000 1.6 --- hookdll.c 9 Mar 2006 16:27:59 -0000 1.7 *************** *** 86,90 **** style = GetWindowLong(hwnd, GWL_STYLE); ! if (style & WS_CHILD) goto end; --- 86,92 ---- style = GetWindowLong(hwnd, GWL_STYLE); ! /* Docs say that WS_CHILD and WS_POPUP is an illegal combination, ! but they exist nonetheless. */ ! if ((style & WS_CHILD) && !(style & WS_POPUP)) goto end; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642