[openbox] sloppy focus "stealing"
Folderol
folderol at ukfsn.org
Sat Apr 30 15:43:56 EDT 2011
On Sat, 30 Apr 2011 11:21:31 -0700 (PDT)
Mithat Konar <mithat_konar at yahoo.com> wrote:
> ----- Original Message -----
>
> > From: Andreas Fink <andreas.fink85 at googlemail.com>
> > To: openbox at icculus.org
> > Cc: Mithat Konar <mithat_konar at yahoo.com>
> > Sent: Saturday, April 30, 2011 5:08 PM
> > Subject: Re: [openbox] sloppy focus "stealing"
> >
> > On Sat, 30 Apr 2011 06:18:25 -0700 (PDT)
> > Mithat Konar <mithat_konar at yahoo.com> wrote:
> [snip]
> >> In both cases, having a "snap to new window" or even "snap
> > to default widget on new window" would prevent this. Is this possible with
> > OB?
> [snip]
> > I don't know if I got you right, but maybe the placement policy helps you:
> > <placement>
> > <policy>UnderMouse</policy>
> > </placement>
> >
> > This policy places new windows under your mouse cursor.
> >
>
> While it's not exactly what I has in mind, I'll give this a shot as it will at the very least help the issue. What I had in mind was letting new windows/dialogs/etc. appear where they wish, but as soon as they appear to have the mouse snap to the new window/dialog/etc.'s location ... in other words, window leads mouse rather than mouse leads window.
>
> -M
It's been a while since I've played with openbox scripts, but I'm pretty
certain this can be done. Certainly you can discover the window geometry and
I'm *fairly* sure you can move the mouse pointer.
--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
More information about the openbox
mailing list