CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.14,1.15
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-serv25029/ServerExe/HookDll
Modified Files:
hookdll.c
Log Message:
Add some more SW_ defines that we need to handle.
Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** hookdll.c 10 Mar 2006 13:25:25 -0000 1.14
--- hookdll.c 10 Mar 2006 13:47:41 -0000 1.15
***************
*** 197,208 ****
show = LOWORD(lparam);
! if (show == SW_SHOWNORMAL)
state = 0;
! else if (show == SW_SHOWMINIMIZED)
state = 1;
! else if (show == SW_SHOWMAXIMIZED)
state = 2;
else
break;
vchannel_write("STATE,0x%p,0x%x,0x%x", (HWND) wparam, state, 0);
break;
--- 197,211 ----
show = LOWORD(lparam);
! if ((show == SW_NORMAL) || (show == SW_SHOWNORMAL))
state = 0;
! else if ((show == SW_MINIMIZE) || (show == SW_SHOWMINIMIZED))
state = 1;
! else if ((show == SW_MAXIMIZE) || (show == SW_SHOWMAXIMIZED))
state = 2;
else
+ {
+ debug("Unexpected show: %d", show);
break;
+ }
vchannel_write("STATE,0x%p,0x%x,0x%x", (HWND) wparam, state, 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