pull up r19867 from trunk
authorTom Yu <tlyu@mit.edu>
Fri, 28 Sep 2007 23:39:18 +0000 (23:39 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 28 Sep 2007 23:39:18 +0000 (23:39 +0000)
commit55546db9b864a68c665261be4017723621501658
tree2026bbe52ded96a0e89a9ea310fb483f4cfe8c88
parent56840b1ea06d75507e0a8a13453dbf5348208827
pull up r19867 from trunk

 r19867@cathode-dark-space:  jaltman | 2007-08-24 10:51:46 -0400
 ticket: new
 subject: NIM: Reposition New Credentials Dialog if necessary
 component: windows

 The new credentials dialog in Network Identity Manager does not check
 whether it is positioned outside of the display screen.  It tries to
 position itself in the center of the primary display if the Network
 Identity Manager window is hidden and it tries to center itself over
 the main window if the main window is visible.  If the main window is
 too close to the edge of the screen, this may result in the new
 credentials window being partially outside the display area.  This is
 especially a problem when the new credentials dialog switches to the
 advanced view.

 The patch checks whether the window rectangle is visible before
 repositioning the new credentials dialog and adjusts the window
 rectangle so that it is.

ticket: 5688
version_fixed: 1.6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20002 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/identity/ui/newcredwnd.c