diff options
author | jenglish <jenglish@noemail.net> | 2004-08-10 18:14:17 (GMT) |
---|---|---|
committer | jenglish <jenglish@noemail.net> | 2004-08-10 18:14:17 (GMT) |
commit | a45396c5922c6119dde8f357428f1c0bb72fbef9 (patch) | |
tree | 94bc9f5b462fa559cd64860595b1eb0de0b3af0a /unix/tkUnixWm.c | |
parent | 4ddbdd7d16af1f176da9204c278265ebb7e4c01b (diff) | |
download | tk-a45396c5922c6119dde8f357428f1c0bb72fbef9.zip tk-a45396c5922c6119dde8f357428f1c0bb72fbef9.tar.gz tk-a45396c5922c6119dde8f357428f1c0bb72fbef9.tar.bz2 |
Fix for #1006686 "wm resizable command not working on Solaris/CDE"
(patch from Colin McDonald).
FossilOrigin-Name: f6dc2bfa94526c824ddb150e0970bf358f81e50b
Diffstat (limited to 'unix/tkUnixWm.c')
-rw-r--r-- | unix/tkUnixWm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c index e36bc32..f9f4cc5 100644 --- a/unix/tkUnixWm.c +++ b/unix/tkUnixWm.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixWm.c,v 1.36.2.1 2004/04/21 02:45:22 jenglish Exp $ + * RCS: @(#) $Id: tkUnixWm.c,v 1.36.2.2 2004/08/10 18:14:18 jenglish Exp $ */ #include "tkPort.h" @@ -4239,6 +4239,7 @@ UpdateSizeHints(winPtr) hintsPtr->min_width = winPtr->reqWidth; } hintsPtr->max_width = hintsPtr->min_width; + hintsPtr->flags |= PMaxSize; } if (wmPtr->flags & WM_HEIGHT_NOT_RESIZABLE) { if (wmPtr->height >= 0) { @@ -4247,6 +4248,7 @@ UpdateSizeHints(winPtr) hintsPtr->min_height = winPtr->reqHeight + wmPtr->menuHeight; } hintsPtr->max_height = hintsPtr->min_height; + hintsPtr->flags |= PMaxSize; } XSetWMNormalHints(winPtr->display, wmPtr->wrapperPtr->window, hintsPtr); |