<HTML><BODY>Hi.<br><br>I'm working on a window manager and I got a few<br>questions concerning WM_CLASS property.<br><br>The questions are:<br><br>1. What is WM_CLASS's purpose? I thought it's to find<br> X resources set by xrdb but Xrm* functions doesn't<br> seem to depend on it. Is there any specific purpose,<br> or does WM_CLASS have no specific purpose and just<br> stores the info that other apps/users decide on how to use it?<br><br>2. Are there rules that an application should follow when<br> setting res_name and res_class?<br><br> For example, let's suppose I have a window manager<br> somebox that has taskbar, dock, menus for starting<br> applications/switching workspaces and configuration dialogs.<br> What should be res_name/res_class for each of them?<br><br> Accordng to manpage, res_name should be the application<br> name and res_class should be the application class. So all<br> the windows listed above should have the same<br> res_name="somebox", res_class="WindowManager". But many<br> apps I've seen don't seem to follow this logic. What's the<br> proper way to set WM_CLASS for the windows?<br><br>Is this the appropriate mailing list to ask this question, or should<br>I write somewhere else?<br><br>--<br>pv<br style="overflow: auto;" dir="ltr" id="tinymce" class="mceContentBody " contenteditable="true"></BODY></HTML>