sflock icon indicating copy to clipboard operation
sflock copied to clipboard

WM_CLASS, name, etc.

Open Janhouse opened this issue 14 years ago • 2 comments

Not sure if this is the place to write feature requests, but I'l write it anyway. Could you please add class, type, name or something else unique, so that the sflock window could be matched by compiz or something else (xprop).

Janhouse avatar Jan 08 '12 20:01 Janhouse

I'll see what I can do when I have the time. This should be a minor code change. Probably adding the following will do the trick:

XClassHint* class_hint = XAllocClassHint(); class_hint->res_name = "sflock"; class_hint->res_class = "sflock"; XSetClassHint(dpy, w, class_hint);

XFree(class_hint); // at the end

benruijl avatar Jan 12 '12 15:01 benruijl

Gives segmentation fault to me.

Janhouse avatar Jan 12 '12 21:01 Janhouse