summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep/files/patch-afterstep::icons.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-wm/afterstep/files/patch-afterstep::icons.c21
1 files changed, 21 insertions, 0 deletions
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;