[ rdesktop-Patches-2987616 ] fix old clipping kept when resizing window

"SourceForge.net" <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Patches item #2987616, was opened at 2010-04-15 11:43
Message generated for change (Tracker Item Submitted) made by cgrosjean
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=2987616&group_id=24366

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: christophe grosjean (cgrosjean)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix old clipping kept when resizing window

Initial Comment:
When an RDP order is sent whitout bound it is supposed not to be clipped (practically clipped to screen). The clip is resetted to screen after each batch of bounded drawing orders. But when you resize rdesktop window through rdp_process_bitmap_caps this clip was left to the old screen size by ui_resize_window. Thus the first batch of orders is clipped at the old window size, which is a concern when you resize to a larger window at part of the window won't be redrawn.

Windows XP RDP client does behave correctly in this case and does not clip data to the old window size, contrary to rdesktop. 

This one line patch correct this problem by calling ui_reset_clip() in ui_resize_window().

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=2987616&group_id=24366

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.