$NetBSD: patch-ah,v 1.2 2004/11/05 11:51:35 adam Exp $ --- src/properties.c.orig 2004-10-27 17:41:34.000000000 +1000 +++ src/properties.c 2004-10-27 17:42:09.000000000 +1000 @@ -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; }