Index: head/x11-wm/afterstep/files/patch-Audio.c =================================================================== --- head/x11-wm/afterstep/files/patch-Audio.c (nonexistent) +++ head/x11-wm/afterstep/files/patch-Audio.c (revision 533977) @@ -0,0 +1,11 @@ +--- modules/Audio/Audio.c.orig 1997-04-19 20:36:39 UTC ++++ modules/Audio/Audio.c +@@ -477,7 +477,7 @@ int audio_play(short sound) + + if (sound_table[sound]) + { +- memset(buf,NULL,BUFSIZE); ++ memset(buf,0,BUFSIZE); + + /* + * Don't use audio_play_dir if it's NULL or if the sound file Property changes on: head/x11-wm/afterstep/files/patch-Audio.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/afterstep/files/patch-Auto.c =================================================================== --- head/x11-wm/afterstep/files/patch-Auto.c (nonexistent) +++ head/x11-wm/afterstep/files/patch-Auto.c (revision 533977) @@ -0,0 +1,11 @@ +--- modules/Auto/Auto.c.orig 1996-08-21 14:23:30 UTC ++++ modules/Auto/Auto.c +@@ -59,7 +59,7 @@ void DeadPipe(int nonsense); + * main - start of module + * + ***********************************************************************/ +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { + FILE *file; + char mask_mesg[80]; Property changes on: head/x11-wm/afterstep/files/patch-Auto.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/afterstep/files/patch-Pager.c =================================================================== --- head/x11-wm/afterstep/files/patch-Pager.c (nonexistent) +++ head/x11-wm/afterstep/files/patch-Pager.c (revision 533977) @@ -0,0 +1,20 @@ +--- modules/Pager/Pager.c.orig 1996-08-21 14:23:33 UTC ++++ modules/Pager/Pager.c +@@ -85,7 +85,7 @@ int StickyIcons = 0; + * main - start of module + * + ***********************************************************************/ +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { + char *temp, *s, *cptr; + char *display_name = NULL; +@@ -751,7 +751,7 @@ int My_XNextEvent(Display *dpy, XEvent *event) + + if(FD_ISSET(fd[1], &in_fdset)) + { +- if(count = ReadASPacket(fd[1],header,&body) > 0) ++ if((count = ReadASPacket(fd[1],header,&body)) > 0) + { + process_message(header[1],body); + free(body); Property changes on: head/x11-wm/afterstep/files/patch-Pager.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/afterstep/files/patch-ReadPacket.c =================================================================== --- head/x11-wm/afterstep/files/patch-ReadPacket.c (nonexistent) +++ head/x11-wm/afterstep/files/patch-ReadPacket.c (revision 533977) @@ -0,0 +1,11 @@ +--- lib/ReadPacket.c.orig 1996-08-21 14:23:34 UTC ++++ lib/ReadPacket.c +@@ -9,7 +9,7 @@ + * unsigned long header[3]; + * unsigned long *body; + * int fd[2]; +- * void DeadPipe(int nonsense); /* Called if the pipe is no longer open ++ * void DeadPipe(int nonsense); // Called if the pipe is no longer open + * + * ReadASPacket(fd[1],header, &body); + * Property changes on: head/x11-wm/afterstep/files/patch-ReadPacket.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/afterstep/files/patch-SendInfo.c =================================================================== --- head/x11-wm/afterstep/files/patch-SendInfo.c (nonexistent) +++ head/x11-wm/afterstep/files/patch-SendInfo.c (revision 533977) @@ -0,0 +1,9 @@ +--- lib/SendInfo.c.orig 1996-08-21 14:23:34 UTC ++++ lib/SendInfo.c +@@ -1,5 +1,6 @@ + #include + #include ++#include + + /*********************************************************************** + * Property changes on: head/x11-wm/afterstep/files/patch-SendInfo.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/afterstep/files/patch-SendText.c =================================================================== --- head/x11-wm/afterstep/files/patch-SendText.c (nonexistent) +++ head/x11-wm/afterstep/files/patch-SendText.c (revision 533977) @@ -0,0 +1,10 @@ +--- lib/SendText.c.orig 1996-08-21 14:23:34 UTC ++++ lib/SendText.c +@@ -1,5 +1,7 @@ + #include + #include ++#include ++ + /************************************************************************ + * + * Sends arbitrary text to afterstep Property changes on: head/x11-wm/afterstep/files/patch-SendText.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/afterstep/files/patch-icons.c =================================================================== --- head/x11-wm/afterstep/files/patch-icons.c (revision 533976) +++ head/x11-wm/afterstep/files/patch-icons.c (revision 533977) @@ -1,19 +1,28 @@ --- afterstep/icons.c.orig 1997-03-21 00:09:21 UTC +++ afterstep/icons.c -@@ -779,10 +779,12 @@ void Iconify(ASWindow *tmp_win, int def_ +@@ -10,7 +10,7 @@ + * + * Modifications: Copyright 1995 Bo Yang. No further restrictions, + * as long as this copyright notice is preserved. +- * ++ */ + /*********************************************************************** + * + * afterstep icon code +@@ -779,10 +779,12 @@ void Iconify(ASWindow *tmp_win, int def_x, int def_y) } } - 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;