[openbox] Changing _OB_APP properties

Dana Jansens dana at orodu.net
Sun Aug 18 20:16:31 EDT 2013


On Mon, Jul 15, 2013 at 2:47 PM, Joe Singleton <joesingo at gmail.com> wrote:

> Hi, I'm new to this list so I hope it is okay to ask questions here.
>
> I'm making a small application using love 2d (an engine for making 2d
> games) and would like to know how to set the type, name, title, class and
> role properties for the app so I can change the way the window appears with
> rc.xml.
>

I'm not sure what love engine provides. But you can look at obt/prop.c in
the openbox source tree for examples of how to set string properties using
libX11 directly. Setting the _NET_WM_NAME will give the window a title.

http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html


>
> Currently the type is 'normal', the title is 'untitled', the class and
> name are 'love-0.8' and the role is blank. Changing the window caption
> doesn't change any of the properties.
>
> I don't want to target every love application so I would greatly
> appreciate it if someone could help me with this.
>
> Thanks, Joe
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20130818/652a64bf/attachment.html>


More information about the openbox mailing list