diff options
author | fredb <fredb@pkgsrc.org> | 2000-09-01 18:09:19 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2000-09-01 18:09:19 +0000 |
commit | 40fa4b36238fe67bff4474a18ef3166db0fc22c5 (patch) | |
tree | dc59012e9b273541951dfb38f7124891c118621c /x11 | |
parent | fe4b4bfbb2ae75523342a4f56b8e726d82811841 (diff) | |
download | pkgsrc-40fa4b36238fe67bff4474a18ef3166db0fc22c5.tar.gz |
Fix for a bug where, after the last client exits, the root window
is for ever after messed up. Pulled up from wmx-6 (actually, culled
from the mailing list).
Diffstat (limited to 'x11')
-rw-r--r-- | x11/wmx/files/patch-sum | 3 | ||||
-rw-r--r-- | x11/wmx/patches/patch-ab | 40 |
2 files changed, 42 insertions, 1 deletions
diff --git a/x11/wmx/files/patch-sum b/x11/wmx/files/patch-sum index e08704ad18a..b1775309fad 100644 --- a/x11/wmx/files/patch-sum +++ b/x11/wmx/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.2 2000/07/22 06:44:54 jlam Exp $ +$NetBSD: patch-sum,v 1.3 2000/09/01 18:09:19 fredb Exp $ MD5 (patch-aa) = 8316a7a06e93596d8ddef91333b6e66e +MD5 (patch-ab) = 4f297fda9031ff4996d7448593e8b69c diff --git a/x11/wmx/patches/patch-ab b/x11/wmx/patches/patch-ab new file mode 100644 index 00000000000..6aa3515499c --- /dev/null +++ b/x11/wmx/patches/patch-ab @@ -0,0 +1,40 @@ +$NetBSD: patch-ab,v 1.1 2000/09/01 18:09:21 fredb 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); +- } +- } + } + + |