summaryrefslogtreecommitdiff
path: root/data/rc.xml
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2012-09-30 22:16:10 -0400
committerDana Jansens <danakj@orodu.net>2012-10-06 21:56:56 -0400
commit6eb740cf119b14903afa3028e108dd98c57ff926 (patch)
tree5106cffa6a6d2b402b19ec5deb2b3cf99b344545 /data/rc.xml
parent51d735672c7a726655867b703d07e390781939de (diff)
Allow window matching based on the group leader's name and class (Fix bug 5721)
In Openbox 3.4 we used the group leader's WM_CLASS value when it was available. This prevents windows in the group from overriding with a specific value, however which is bad. More rationale can be found in http://icculus.org/pipermail/openbox/2010-September/006790.html Some applications (eg. Firefox) use command line flags to set the WM_CLASS property on the group leader but do not change the property on the mapped windows themselves. This makes matching these windows not possible in Openbox 3.5. We resolve this by exposing the group's WM_CLASS values alongside the individual window's values. We add _OB_APP_GROUP_NAME and _OB_APP_GROUP_CLASS properties along with "groupname" and "classname" attributes for the rc.xml application tag.
Diffstat (limited to 'data/rc.xml')
-rw-r--r--data/rc.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/rc.xml b/data/rc.xml
index 209cc2dc..7c37928e 100644
--- a/data/rc.xml
+++ b/data/rc.xml
@@ -652,6 +652,8 @@
<application name="the window's _OB_APP_NAME property (see obxprop)"
class="the window's _OB_APP_CLASS property (see obxprop)"
+ groupname="the window's _OB_APP_GROUP_NAME property (see obxprop)"
+ groupclass="the window's _OB_APP_GROUP_CLASS property (see obxprop)"
role="the window's _OB_APP_ROLE property (see obxprop)"
title="the window's _OB_APP_TITLE property (see obxprop)"
type="the window's _OB_APP_TYPE property (see obxprob)..