regedit: use pad as a canvas for dialogs
authorChris Davis <cd.rattan@gmail.com>
Tue, 29 Jul 2014 06:04:10 +0000 (23:04 -0700)
committerMichael Adam <obnox@samba.org>
Wed, 1 Oct 2014 12:32:09 +0000 (14:32 +0200)
commitc272178ccc6bb2f3b4a6621ef463489741c7e040
treef69b089ec9ce2458bed554633b42977c1e04e224
parentcc22cb5cd44fdcc078211d2b82502ca219b1e928
regedit: use pad as a canvas for dialogs

Drawing in a pad allows the dialog to maintain the same size even when
the terminal window is shrunk to some awkwardly small size.  It also
helps avoid hacks needed to update positions of subwindows when the
panel is moved.

Signed-off-by: Chris Davis <cd.rattan@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/regedit_dialog.c
source3/utils/regedit_dialog.h