Patch from author; submitted by Han Boetes <han@mijncomputer.nl>.

This commit is contained in:
naddy 2002-03-11 14:02:12 +00:00
parent ee394997a5
commit 120f4a93f7
2 changed files with 16 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2002/03/02 17:36:24 naddy Exp $
# $OpenBSD: Makefile,v 1.3 2002/03/11 14:02:12 naddy Exp $
COMMENT= "Blackbox-derived window manager with Gnome and KDE support"
DISTNAME= fluxbox-0.1.7
PKGNAME= ${DISTNAME}p1
CATEGORIES= x11
NEED_VERSION= 1.504
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_Screen_cc,v 1.1 2002/03/11 14:02:12 naddy Exp $
--- src/Screen.cc.orig Sat Mar 9 21:22:15 2002
+++ src/Screen.cc Sat Mar 9 21:22:47 2002
@@ -877,8 +877,9 @@ void BScreen::removeNetizen(Window w) {
Netizens::iterator it_end = netizenList.end();
for (; it != it_end; ++it) {
if ((*it)->getWindowID() == w) {
- Netizen *n = *netizenList.erase(it);
+ Netizen *n = *it;
delete n;
+ netizenList.erase(it);
break;
}
}