CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.15,1.16
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-serv19675/ServerExe/HookDll
Modified Files:
hookdll.c
Log Message:
Avoid sending position updates for minimized windows.
Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** hookdll.c 10 Mar 2006 13:47:41 -0000 1.15
--- hookdll.c 10 Mar 2006 15:00:38 -0000 1.16
***************
*** 133,137 ****
vchannel_write("DESTROY,0x%p,0x%x", hwnd, 0);
! if (!(style & WS_VISIBLE))
break;
--- 133,137 ----
vchannel_write("DESTROY,0x%p,0x%x", hwnd, 0);
! if (!(style & WS_VISIBLE) || (style & WS_MINIMIZE))
break;
***************
*** 151,155 ****
case WM_SIZE:
! if (!(style & WS_VISIBLE))
break;
update_position(hwnd);
--- 151,155 ----
case WM_SIZE:
! if (!(style & WS_VISIBLE) || (style & WS_MINIMIZE))
break;
update_position(hwnd);
***************
*** 157,161 ****
case WM_MOVE:
! if (!(style & WS_VISIBLE))
break;
update_position(hwnd);
--- 157,161 ----
case WM_MOVE:
! if (!(style & WS_VISIBLE) || (style & WS_MINIMIZE))
break;
update_position(hwnd);
-------------------------------------------------------
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