summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2004-08-07 06:59:08 +0000
committerDoug Goldstein <cardoe@gentoo.org>2004-08-07 06:59:08 +0000
commit0966054b0b207a19a1fcd697163be03cfa671e3c (patch)
tree01eea6a90b409466a913e87c4128ce7ff346aa82 /dev-lang/tk/files
parent5.8.5 (Manifest recommit) (diff)
downloadgentoo-2-0966054b0b207a19a1fcd697163be03cfa671e3c.tar.gz
gentoo-2-0966054b0b207a19a1fcd697163be03cfa671e3c.tar.bz2
gentoo-2-0966054b0b207a19a1fcd697163be03cfa671e3c.zip
Update to TK to fix WM max size bug in KDE 3.2
Diffstat (limited to 'dev-lang/tk/files')
-rw-r--r--dev-lang/tk/files/digest-tk-8.4.6-r11
-rw-r--r--dev-lang/tk/files/tk-wm-maxsize.patch29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-lang/tk/files/digest-tk-8.4.6-r1 b/dev-lang/tk/files/digest-tk-8.4.6-r1
new file mode 100644
index 000000000000..e34b77208af1
--- /dev/null
+++ b/dev-lang/tk/files/digest-tk-8.4.6-r1
@@ -0,0 +1 @@
+MD5 24b7774d54c1c568cabe16f3498ddccd tk8.4.6-src.tar.gz 3230760
diff --git a/dev-lang/tk/files/tk-wm-maxsize.patch b/dev-lang/tk/files/tk-wm-maxsize.patch
new file mode 100644
index 000000000000..019f7b5a3136
--- /dev/null
+++ b/dev-lang/tk/files/tk-wm-maxsize.patch
@@ -0,0 +1,29 @@
+Date: Wed Mar 24 02:43:08 PM PST 2004
+Files: unix/tkUnixWm.c
+Bug-id: 915350
+
+--- unix/tkUnixWm.c.wm-maxsize.old 2004-01-31 12:27:52.000000000 -0800
++++ unix/tkUnixWm.c 2004-03-24 14:42:00.000000000 -0800
+@@ -2279,6 +2279,13 @@
+ wmPtr->maxWidth = width;
+ wmPtr->maxHeight = height;
+ wmPtr->flags |= WM_UPDATE_SIZE_HINTS;
++
++ if (width <= 0 && height <= 0) {
++ wmPtr->sizeHintsFlags &= ~PMaxSize;
++ } else {
++ wmPtr->sizeHintsFlags |= PMaxSize;
++ }
++
+ WmUpdateGeom(wmPtr, winPtr);
+ return TCL_OK;
+ }
+@@ -4269,7 +4276,7 @@
+ hintsPtr->max_aspect.x = wmPtr->maxAspect.x;
+ hintsPtr->max_aspect.y = wmPtr->maxAspect.y;
+ hintsPtr->win_gravity = wmPtr->gravity;
+- hintsPtr->flags = wmPtr->sizeHintsFlags | PMinSize | PMaxSize;
++ hintsPtr->flags = wmPtr->sizeHintsFlags | PMinSize;
+
+ /*
+ * If the window isn't supposed to be resizable, then set the