summaryrefslogtreecommitdiff
path: root/wm/wmx/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
committerwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
commitb48aa2febfd565b99592854d7cbeaa9c59ec76e9 (patch)
tree0386b8c653f44899ccf3b63ba89ad7c5638f4887 /wm/wmx/patches/patch-ab
parenta32b3a56553677e14a448f1a16a11a4a984b3574 (diff)
downloadpkgsrc-b48aa2febfd565b99592854d7cbeaa9c59ec76e9.tar.gz
Add new category wm for window managers, and move lots of package from
x11 here. Only changes are: `wm' in category added and some paths fixed.
Diffstat (limited to 'wm/wmx/patches/patch-ab')
-rw-r--r--wm/wmx/patches/patch-ab40
1 files changed, 40 insertions, 0 deletions
diff --git a/wm/wmx/patches/patch-ab b/wm/wmx/patches/patch-ab
new file mode 100644
index 00000000000..d2bba637d71
--- /dev/null
+++ b/wm/wmx/patches/patch-ab
@@ -0,0 +1,40 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+This patch was culled from the wmx mailing list,
+
+http://ml.42.org/wmx/msg00200.html
+
+
+--- Border.C.orig Wed Jan 13 04:28:43 1999
++++ Border.C Fri Sep 1 12:53:46 2000
+@@ -23,8 +23,6 @@
+ unsigned long Border::m_borderPixel;
+ Pixmap Border::m_backgroundPixmap = None;
+
+-static int borderCounter = 0;
+-
+
+ class BorderRectangle // must resemble XRectangle in storage
+ {
+@@ -70,7 +68,6 @@
+ {
+ m_parent = root();
+ if (m_tabFont == 0) initialiseStatics(c->windowManager());
+- ++borderCounter;
+
+ //#if CONFIG_MAD_FEEDBACK != 0
+ m_feedback = 0;
+@@ -94,13 +91,6 @@
+ }
+
+ if (m_label) free(m_label);
+-
+- if (--borderCounter == 0) {
+- XFreeGC(display(), m_drawGC);
+- if (m_backgroundPixmap != None) {
+- XFreePixmap(display(), m_backgroundPixmap);
+- }
+- }
+ }
+
+