CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.13,1.14
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-serv6725/ServerExe/HookDll
Modified Files:
hookdll.c
Log Message:
Catch WM_SETTEXT so that we follow changes to the window title.
Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** hookdll.c 10 Mar 2006 12:56:37 -0000 1.13
--- hookdll.c 10 Mar 2006 13:25:25 -0000 1.14
***************
*** 162,165 ****
--- 162,172 ----
break;
+ case WM_SETTEXT:
+ if (!(style & WS_VISIBLE))
+ break;
+ /* FIXME: Strip title of dangerous characters */
+ vchannel_write("TITLE,0x%p,%s,0x%x", hwnd, (char *) lparam, 0);
+ break;
+
case WM_DESTROY:
if (!(style & WS_VISIBLE))
-------------------------------------------------------
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