summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-11 13:42:50 -0500
committerDana Jansens <danakj@orodu.net>2010-01-11 13:42:50 -0500
commit91af4d5bc9e04b766735aaa3ac098233ba103959 (patch)
treeed9bff5f878eeeac6c3cd9844b0d9c54214ff614 /openbox/screen.c
parentb8e994e837d260860a4dc0a1ee3a680e2cdfc75a (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/screen.c')
-rw-r--r--openbox/screen.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 075d3074..5ae07907 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -303,15 +303,20 @@ gboolean screen_annex(void)
supported[i++] = prop_atoms.ob_theme;
supported[i++] = prop_atoms.ob_config_file;
supported[i++] = prop_atoms.ob_control;
- supported[i++] = prop_atoms.ob_role;
- supported[i++] = prop_atoms.ob_name;
- supported[i++] = prop_atoms.ob_class;
+ supported[i++] = prop_atoms.ob_version;
+ supported[i++] = prop_atoms.ob_app_role;
+ supported[i++] = prop_atoms.ob_app_name;
+ supported[i++] = prop_atoms.ob_app_class;
+ supported[i++] = prop_atoms.ob_app_type;
g_assert(i == num_support);
PROP_SETA32(RootWindow(ob_display, ob_screen),
net_supported, atom, supported, num_support);
g_free(supported);
+ PROP_SETS(RootWindow(ob_display, ob_screen), ob_version,
+ OB_VERSION);
+
screen_tell_ksplash();
return TRUE;