summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-04-18 02:18:32 (GMT)
committerericm <ericm@noemail.net>2000-04-18 02:18:32 (GMT)
commit23420802e3f855a012e9031cd4952fa826b99e28 (patch)
tree1a5b1bcdfcedcc57a982da47be2f49a3aba66103 /unix
parent57630e191444466eb9fbb8238eddfb79fee9b940 (diff)
downloadtk-23420802e3f855a012e9031cd4952fa826b99e28.zip
tk-23420802e3f855a012e9031cd4952fa826b99e28.tar.gz
tk-23420802e3f855a012e9031cd4952fa826b99e28.tar.bz2
* win/tkWinDialog.c: Added checks for visibility of parent window
before creating MessageBox and ChooseColor dialogs; this prevents the application from locking when the parent is withdrawn and the message box is created. In these cases, the window will be created without a parent. * unix/mkLinks: Added WinViewable.3. * tests/msgbox.test: Added tests for patch from [Bug: 4997]. * library/msgbox.tcl: * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches dialog window from parent if parent is not viewable. * library/bgerror.tcl: Removed workaround from [Bug: 4370]; this is superceeded by patches to dialog.tcl. * generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable function to determine visibility of windows instead of inlining the code. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_IsViewable declaration. FossilOrigin-Name: a39bc3c5994e6804227b828aa86f058d123d81d4
Diffstat (limited to 'unix')
-rw-r--r--unix/mkLinks4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/mkLinks b/unix/mkLinks
index 975b639..d3bac5c 100644
--- a/unix/mkLinks
+++ b/unix/mkLinks
@@ -663,6 +663,10 @@ if test -r MapWindow.3; then
rm -f Tk_MapWindow.3
ln MapWindow.3 Tk_MapWindow.3
fi
+if test -r WinViewable.3; then
+ rm -f Tk_IsViewable.3
+ ln WinViewable.3 Tk_IsViewable.3
+fi
if test -r MeasureChar.3; then
rm -f Tk_MeasureChars.3
ln MeasureChar.3 Tk_MeasureChars.3