summaryrefslogtreecommitdiff
path: root/wm/windowmaker/patches/patch-ah
blob: 27cbc4a928ab9573847247445121a7b539847563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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;
     }