diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-01-11 13:42:50 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-11 13:42:50 -0500 |
| commit | 91af4d5bc9e04b766735aaa3ac098233ba103959 (patch) | |
| tree | ed9bff5f878eeeac6c3cd9844b0d9c54214ff614 /openbox/prop.c | |
| parent | b8e994e837d260860a4dc0a1ee3a680e2cdfc75a (diff) | |
Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE
Add _OB_VERSION property on the root window.
Change _OB_ROLE/CLASS/NAME to _OB_APP_*.
Add _OB_APP_TYPE which has a string for the type chosen for the window on
mapping by Openbox.
Adjust the rc.xml to match these changes.
Diffstat (limited to 'openbox/prop.c')
| -rw-r--r-- | openbox/prop.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/openbox/prop.c b/openbox/prop.c index b21b3f53..5184edae 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -179,9 +179,11 @@ void prop_startup(void) CREATE(ob_wm_action_undecorate, "_OB_WM_ACTION_UNDECORATE"); CREATE(ob_wm_state_undecorated, "_OB_WM_STATE_UNDECORATED"); CREATE(ob_control, "_OB_CONTROL"); - CREATE(ob_role, "_OB_ROLE"); - CREATE(ob_name, "_OB_NAME"); - CREATE(ob_class, "_OB_CLASS"); + CREATE(ob_version, "_OB_VERSION"); + CREATE(ob_app_role, "_OB_APP_ROLE"); + CREATE(ob_app_name, "_OB_APP_NAME"); + CREATE(ob_app_class, "_OB_APP_CLASS"); + CREATE(ob_app_type, "_OB_APP_TYPE"); } #include <X11/Xutil.h> |
