On Thu 18.Mar'10 at 17:31:40 +0100, Tamas TEVESZ wrote:
> 
> whatever this really does, it certainly looks sensible. or maybe 
> "unknown".

>       if (XGetClassHint(dpy, window, class_hint) == 0) {
> -             *wm_class = NULL;
> -             *wm_instance = NULL;
> +             *wm_class = strdup("default");
> +             *wm_instance = strdup("default");


Hm, I am not sure what to do here. 

Some time ago Gilbert Ashley made a patch for something related to
that (see be08535ab4d). He wanted the 'Kill Application' dialog to
show the app name instead of its wm_class, so perhaps we should 
simply do that here too (or instead).

But I haven't looked what the current behavior for wm_class
being NULL really is. I would guess that it doesn't matter.

I don't know. I am inclined to not have this unless there is
a known reason (some misbehavior etc).


-- 
To unsubscribe, send mail to [email protected].

Reply via email to