--- fvwm/modules/FvwmTalk/FvwmTalk.c	Wed Jan  4 05:49:10 1995
+++ fvwm.old/modules/FvwmTalk/FvwmTalk.c	Tue May  2 13:48:14 1995
@@ -53,9 +53,9 @@
 int x_fd;
 Window Root;
 Display *dpy;
-char *font_string = "fixed";
-char *ForeColor = "black";
-char *BackColor = "white";
+char *font_string = "helvetica";
+char *ForeColor = "green";
+char *BackColor = "black";
 char *display_name = NULL;
 
 XFontStruct *font;
@@ -100,7 +100,10 @@
 {
   char *temp, *s;
   FILE *file;
-
+  XWMHints        wm_hints;
+  XClassHint      class_hints;
+  XTextProperty   window_name;
+  
   /* Save the program name - its used for error messages and option parsing */
   temp = argv[0];
 
@@ -195,9 +198,18 @@
 			  CopyFromParent, InputOutput,
 			  (Visual *) CopyFromParent,
 			  valuemask, &attributes);                      
-                                                            
+
+  class_hints.res_name = "FvwmTalk";
+  class_hints.res_class =  "FvwmTalk";
+
+  wm_hints.flags = InputHint;
+  wm_hints.input = True;;
+  
   XSetWMProtocols(dpy,window,&wm_del_win,1);
   XSetWMNormalHints(dpy,window,&sizehints);
+  XStringListToTextProperty(&(argv[0]), 1, &window_name);
+  XSetWMProperties(dpy, window, &window_name, &window_name,
+      argv, argc, &sizehints, &wm_hints, &class_hints);
 
   gcv.foreground = fore_pix;
   gcv.background = back_pix;

