CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.7,1.8
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-serv30107/ServerExe/HookDll
Modified Files:
hookdll.c
Log Message:
Avoid sending messages for windows that aren't visible.
Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** hookdll.c 9 Mar 2006 16:27:59 -0000 1.7
--- hookdll.c 9 Mar 2006 16:28:57 -0000 1.8
***************
*** 130,141 ****
--- 130,147 ----
case WM_SIZE:
+ if (!(style & WS_VISIBLE))
+ break;
update_position(hwnd);
break;
case WM_MOVE:
+ if (!(style & WS_VISIBLE))
+ break;
update_position(hwnd);
break;
case WM_DESTROY:
+ if (!(style & WS_VISIBLE))
+ break;
vchannel_write("DESTROY1,0x%p,0x%x", hwnd, 0);
break;
-------------------------------------------------------
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