On Fri, Aug 27, 2010 at 11:04 AM, Neil Jagdish Patel <
[email protected]> wrote:

> On Thu, 2010-08-26 at 19:35 +0200, Mohamed Ikbel Boulabiar wrote:
> > On Thu, Aug 26, 2010 at 6:31 PM, Chase Douglas
> > <[email protected]> wrote:
> >         How do you map applications to windows? Is it based on the
> >         window title?
> >         If so, I suggest defining the "Application" property as a
> >         regex so
> >         titles can be matched easily no matter what their format.
> >
> >
> > Yes, because I think window title matching is easier for the user than
> > the windowid.
> > I'll extend this to regex as you stated.
>
> NOOOOOOOOOO! :)
>
> The will of dock-authors (Jason and me) compel you to use libbamf from
> Unity stack.

Yes Sir ! [?]

That'll let you connect to the BAMF D-Bus daemon which will
> tell you:
>
> - What the current application is (path to .desktop file)
> - What the current window of that application is (xid)
> - When the current application or window changes
> (plus a lot more)
>
 Nice !

BAMF holds all the window -> desktop file matching code (including
> Quirks), and we're trying to get things standardised on that, so would
> be awesome if you used it :) Ping Jason (irc: Jason or DBO) or me if you
> have any questions.


I'll use it.
Knowing the active app lets me load only that part from the configuration
file. And as you said, it solve matching translated apps.

<<B9F.gif>>

_______________________________________________
Mailing list: https://launchpad.net/~multi-touch-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~multi-touch-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to