Re: Quake-like-console configuration: problem with ForEach action
Dana Jansens <[email protected]>
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CAP1a_adBnD0YWi+sejGn1VxUCfxJ242=gfB2pXXh11DnRPGm-Q@mail.gmail.com> |
On Fri, Jan 2, 2015 at 1:05 PM, Martin Jiřička <[email protected]> wrote: > > It feels like there may be a bug here though. If you put the tests in a > > <query> with target="default" then does it work? > > No, it does not. > > But what is definitely buggy is this code: > > <keybind key="W-x"> > <action name="If"> > <query target="default"> > <title>quake_console</title> > </query> > <then> > <action name="SendToDesktop"> > <to>3</to> > <wrap>no</wrap> > <follow>no</follow> > </action> > </then> > <else> > <action name="SendToDesktop"> > <to>4</to> > <wrap>no</wrap> > <follow>no</follow> > </action> > </else> > </action> > </keybind> > > This sends all windows into Desktop 3, thus the condition is always > evaluated as true. > Hm, something's definitely sketchy. Can you file a bug in the bug tracker about it so it doesn't get lost? > Moreover I do not understand why the ForEach action would need a > "target" attribute because -- as I understand it -- it should test all > windows. > It lets you act on all windows based on tests against your current focus window. > _______________________________________________ > openbox mailing list > [email protected] > http://icculus.org/mailman/listinfo/openbox > _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox