[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: =?UTF-8?B?V01fQ0xBU1MgcHVycG9zZT8=?=
From: Vladimir A. Pavlov <pv4 () bk ! ru>
Date: 2012-10-28 18:17:58
Message-ID: 1351448278.92350790 () f259 ! mail ! ru
[Download RAW message or body]
Hi.
I'm working on a window manager and I got a few
questions concerning WM_CLASS property.
The questions are:
1. What is WM_CLASS's purpose? I thought it's to find
X resources set by xrdb but Xrm* functions doesn't
seem to depend on it. Is there any specific purpose,
or does WM_CLASS have no specific purpose and just
stores the info that other apps/users decide on how to use it?
2. Are there rules (recommendation) that an application should
follow when setting res_name and res_class?
For example, let's suppose I have a window manager
somebox that has taskbar, dock, menus for starting
applications/switching workspaces and configuration dialogs.
What should be res_name/res_class for each of them?
Accordng to manpage, res_name should be the application
name and res_class should be the application class. So all
the windows listed above should have the same
res_name="somebox", res_class="WindowManager". But many
apps I've seen don't seem to follow this logic. What's the
proper way to set WM_CLASS for the windows?
Is this the appropriate mailing list to ask this question, or should
I write somewhere else (xorg-devel?)?
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic