summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-11 18:27:46 -0500
committerDana Jansens <danakj@orodu.net>2009-12-11 18:58:39 -0500
commit9ba2b04e96449fea5b6bd212aa3d431638754bdd (patch)
treecbe309179589ae66cb459e41dee911407df75b1c /openbox/screen.c
parent5c01dc651a220ad1ccce9502da577d81f1877388 (diff)
Set hints that remember the WM_WINDOW_ROLE and WM_CLASS properties for our users.
The hints are _OB_ROLE, _OB_NAME, and _OB_CLASS.
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 4412027e..8d0460d5 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -302,6 +302,9 @@ 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;
g_assert(i == num_support);
PROP_SETA32(RootWindow(ob_display, ob_screen),