...to comply with Openbox 3.6 spec [1]
"OSD" is still honoured to maintain backward compatibility.
[1]: http://openbox.org/wiki/Help:Configuration#Theme
Places can be any of:
- ActiveWindow - titlebar of active window
- MenuItem - menu item (currently only root menu)
- - OSD - items in the on screen display
+ - OnScreenDisplay - items in the on screen display
If no place attribute is provided, the setting will be applied to all
places.
<slant>normal</slant>
<weight>normal</weight>
</font>
- <font place="OSD">
+ <font place="OnScreenDisplay">
<name>sans</name>
<size>10</size>
<slant>normal</slant>
return FONT_PLACE_ACTIVEWINDOW;
} else if (!strcasecmp(place, "MenuItem")) {
return FONT_PLACE_MENUITEM;
- } else if (!strcasecmp(place, "OSD")) {
+ } else if (!strcasecmp(place, "OnScreenDisplay")
+ || !strcasecmp(place, "OSD")) {
return FONT_PLACE_OSD;
}
return FONT_PLACE_UNKNOWN;