[krbdev.mit.edu #5613] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Aug 9 18:14:17 EDT 2007


pull up r19760 from trunk

 r19760 at cathode-dark-space:  jaltman | 2007-08-08 13:45:37 -0400
 ticket: 5613
 
 Patch developed by kpkoch with style changes from jaltman.
 
 The size/position of the main application window is 
 internally updated in response to WM_MOVE messages but is
 only written to the registry after a timeout period.  This
 is done due to the large number of WM_MOVE messages that 
 can be delivered during a windows drag / resize operation
 involving the user or explorer shell's tile and cascade 
 operations.  (or those involving third party desktop managers.)
 
 In NIM 1.8 two different application view modes (standard 
 and advanced) replaced the single view mode in previous 
 releases.  The size/position update logic was not modified
 to take into consideration the possibility that a user might
 move/resize the window and then quickly toggle modes before
 the new location or size were recorded to the registry.
 
 This change ensures that when a mode change occurs, via a
 call to khm_set_main_window_mode(), that the current 
 location/size will be written to the registry and any 
 outstanding timer, MW_RESIZE_TIMER, will be cleared.
 
 The logic to save the location/size has been extracted 
 into the new static function main_wnd_save_sizepos().
 
 main_wnd_save_sizepos() is only called after the application
 window has been created.
 
 


Commit By: tlyu



Revision: 19798
Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/windows/identity/ui/mainwnd.c




More information about the krb5-bugs mailing list