CVS: seamlessrdp/ServerExe main.c,1.25,1.26 vchannel.h,1.7,1.8
Pierre Ossman <[email protected]> Tue, 21 Mar 2006 06:38:41 -0800
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12733/ServerExe
Modified Files:
main.c vchannel.h
Log Message:
Support for window groups and modal windows.
Index: main.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/main.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** main.c 20 Mar 2006 12:28:03 -0000 1.25
--- main.c 21 Mar 2006 14:38:38 -0000 1.26
***************
*** 97,100 ****
--- 97,102 ----
int state;
HWND parent;
+ DWORD pid;
+ int flags;
styles = GetWindowLong(hwnd, GWL_STYLE);
***************
*** 108,112 ****
parent = NULL;
! vchannel_write("CREATE", "0x%p,0x%p,0x%x", hwnd, parent, 0);
if (!GetWindowRect(hwnd, &rect))
--- 110,121 ----
parent = NULL;
! GetWindowThreadProcessId(hwnd, &pid);
!
! flags = 0;
! if (styles & DS_MODALFRAME)
! flags |= SEAMLESS_CREATE_MODAL;
!
! vchannel_write("CREATE", "0x%08lx,0x%08lx,0x%08lx,0x%08x", (long) hwnd, (long) pid,
! (long) parent, flags);
if (!GetWindowRect(hwnd, &rect))
Index: vchannel.h
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/vchannel.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** vchannel.h 20 Mar 2006 10:30:25 -0000 1.7
--- vchannel.h 21 Mar 2006 14:38:38 -0000 1.8
***************
*** 27,30 ****
--- 27,32 ----
#define VCHANNEL_MAX_LINE 1024
+ #define SEAMLESS_CREATE_MODAL 0x0001
+
DLL_EXPORT void debug(char *format, ...);
-------------------------------------------------------
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