mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Fix a resources leak & bump PORTREVISION.
PR: 35288 Submitted by: Andriy Gapon <agapon@usa.com>
This commit is contained in:
parent
97e48909a9
commit
91a8ff8dab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60052
@ -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/
|
||||
|
21
x11-wm/afterstep/files/patch-afterstep::icons.c
Normal file
21
x11-wm/afterstep/files/patch-afterstep::icons.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user