Re: FVWM: About fvwm2 pl 35

From: Nobutaka Suzuki <nobuta-s_at_is.aist-nara.ac.jp>
Date: Fri, 22 Sep 1995 14:33:29 +0900

--- add_window.c.orig Thu Sep 14 02:19:16 1995
+++ add_window.c Thu Sep 21 01:31:14 1995
_at_@ -507,10 +507,10 @@
        tmp_win->icon_bitmap_file != Scr.DefaultIcon)
      BroadcastName(M_ICON_FILE,tmp_win->w,tmp_win->frame,
                    (unsigned long)tmp_win,tmp_win->icon_bitmap_file);
- BroadcastName(M_RES_CLASS,tmp_win->w,tmp_win->frame,
- (unsigned long)tmp_win,tmp_win->class.res_class);
- BroadcastName(M_RES_NAME,tmp_win->w,tmp_win->frame,
- (unsigned long)tmp_win,tmp_win->class.res_name);
+ BroadcastName(M_RES_CLASS,tmp_win->w,tmp_win->frame,(unsigned long)tmp_win,
+ tmp_win->class.res_class!= NULL ? tmp_win->class.res_class:NoClass.res_class);
+ BroadcastName(M_RES_NAME,tmp_win->w,tmp_win->frame,(unsigned long)tmp_win,
+ tmp_win->class.res_name!=NULL ? tmp_win->class.res_name:NoClass.res_name);
 
   FetchWmProtocols (tmp_win);
   FetchWmColormapWindows (tmp_win);
--- module.c.orig Fri Jun 2 03:21:00 1995
+++ module.c Thu Sep 21 01:30:56 1995
_at_@ -705,10 +705,10 @@
              t->icon_bitmap_file != Scr.DefaultIcon)
            SendName(*Module,M_ICON_FILE,t->w,t->frame,
                     (unsigned long)t,t->icon_bitmap_file);
- SendName(*Module,M_RES_CLASS,t->w,t->frame,
- (unsigned long)t,t->class.res_class);
- SendName(*Module,M_RES_NAME,t->w,t->frame,
- (unsigned long)t,t->class.res_name);
+ SendName(*Module,M_RES_CLASS,t->w,t->frame,(unsigned long)t,
+ t->class.res_class != NULL ? t->class.res_class:NoClass.res_class);
+ SendName(*Module,M_RES_NAME,t->w,t->frame,(unsigned long)t,
+ t->class.res_name != NULL ? t->class.res_name:NoClass.res_name);
           
           if((t->flags & ICONIFIED)&&(!(t->flags & ICON_UNMAPPED)))
             SendPacket(*Module,M_ICONIFY,7,t->w,t->frame,

--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Sep 22 1995 - 00:30:06 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST