blob: 091fe1522ee1968d418fbd99100896cce34827f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$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;
}
|