[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] Changing _OB_APP properties
From:       dana () orodu ! net (Dana Jansens)
Date:       2013-08-19 0:16:31
Message-ID: CAP1a_afs3rJHX-zEPQY8mGni2quUAUDuKeiOem5thRavO8Y77A () mail ! gmail ! com
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic