[openbox] Any plans for adding patterns on windows to the Next/Prevwindow
Ben Jansens
ben at orodu.net
Tue Dec 23 02:05:51 EST 2003
On Tue, Dec 23, 2003 at 12:15:19AM +0100, Jesper Louis Andersen wrote:
> Do you have any plans regarding adding in a pattern language for
> Window selection operations like the one fvwm(2) has? I do not know
No, I don't have any such plans.
> if this is the correct solution for your wm, but it might be a
> good solution I think since it is general and allows for much
> configuration. Assume that I can write:
I've actually been about requiring as little configuration as possible and
just doing the "right thing" or something intelligent instead if possible.
> NextWindow (!Iconic, !Shaded)
>
> Where the last is a pattern which has to match in order to select the
> window in question. It can be implemented by having a function
> g_boolean pattern_match(pattern *, window *), returning a boolean
> value on if the window matched. The Searches should be easy to build
> around this.
Neet idea though. It's similar code-wise to what is used in Openbox, only the
"patterns" are not configurable of course.
> If speed is of concern (it is not, but imagine it is), you could
Yah, that definitely wouldn't be a problem :)
Cheers,
ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20031223/3adc29a8/attachment.pgp>
More information about the openbox
mailing list