diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-11 18:27:46 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-11 18:58:39 -0500 |
| commit | 9ba2b04e96449fea5b6bd212aa3d431638754bdd (patch) | |
| tree | cbe309179589ae66cb459e41dee911407df75b1c /openbox/prop.c | |
| parent | 5c01dc651a220ad1ccce9502da577d81f1877388 (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/prop.c')
| -rw-r--r-- | openbox/prop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/prop.c b/openbox/prop.c index ec1ce3db..b21b3f53 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -179,6 +179,9 @@ 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"); } #include <X11/Xutil.h> |
