$NetBSD: patch-ah,v 1.1 2001/07/23 18:56:19 wiz Exp $ --- src/properties.c.orig Tue Oct 31 15:57:25 2000 +++ src/properties.c @@ -81,8 +81,8 @@ class_hint = XAllocClassHint(); if (XGetClassHint(dpy,window,class_hint) == 0) { - *wm_class = NULL; - *wm_instance = NULL; + *wm_class = strdup("default"); + *wm_instance = strdup("default"); XFree(class_hint); return False; }