diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-05-27 00:53:56 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-05-27 00:53:56 +0000 |
commit | 91a8ff8dabb90b350c40f3a174edb6a97ae510d2 (patch) | |
tree | 3df631c63cf1247238c2f550f303512427e18fad | |
parent | Update MASTER_SITES. (diff) |
Fix a resources leak & bump PORTREVISION.
PR: 35288
Submitted by: Andriy Gapon <agapon@usa.com>
Notes
Notes:
svn path=/head/; revision=60052
-rw-r--r-- | x11-wm/afterstep/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/afterstep/files/patch-afterstep::icons.c | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/x11-wm/afterstep/Makefile b/x11-wm/afterstep/Makefile index cee2b9aa8f11..603e36469828 100644 --- a/x11-wm/afterstep/Makefile +++ b/x11-wm/afterstep/Makefile @@ -7,6 +7,7 @@ PORTNAME= afterstep PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= x11-wm afterstep MASTER_SITES= ${MASTER_SITE_AFTERSTEP} \ ftp://ftp.cs.tu-berlin.de/pub/X/afterstep/ diff --git a/x11-wm/afterstep/files/patch-afterstep::icons.c b/x11-wm/afterstep/files/patch-afterstep::icons.c new file mode 100644 index 000000000000..c9c43d64a784 --- /dev/null +++ b/x11-wm/afterstep/files/patch-afterstep::icons.c @@ -0,0 +1,21 @@ +$FreeBSD$ + +--- afterstep/icons.c.orig Thu Mar 20 19:09:21 1997 ++++ afterstep/icons.c Sun May 26 18:15:10 2002 +@@ -779,10 +779,12 @@ + } + } + +- if(tmp_win->flags & ICON_MOVED) +- CreateIconWindow(tmp_win,tmp_win->icon_x_loc,tmp_win->icon_y_loc); +- else +- CreateIconWindow(tmp_win, def_x, def_y); ++ if(tmp_win->icon_pixmap_w == None) { ++ if(tmp_win->flags & ICON_MOVED) ++ CreateIconWindow(tmp_win,tmp_win->icon_x_loc,tmp_win->icon_y_loc); ++ else ++ CreateIconWindow(tmp_win, def_x, def_y); ++ } + + AutoPlace(tmp_win); + tmp_win->flags |= ICONIFIED; |