[openbox] sloppy focus "stealing"

Andreas Fink andreas.fink85 at googlemail.com
Sat Apr 30 10:08:58 EDT 2011


On Sat, 30 Apr 2011 06:18:25 -0700 (PDT)
Mithat Konar <mithat_konar at yahoo.com> wrote:

> This may be a RTFA but I have and ... :-(
> 
> 
> I've got a bit of RSI going and find that sloppy focus (i.e., focus follow mouse) helps a bit because it cuts down on the number of clicks I need to do. However, there is one use case where it gets me into trouble:
> 
> 1) An app brings up a dialog
> 
> 2) The mouse gets nudged (or is moved too slowly), and before I can access the dialog, another app (or the same app if it's a non-modal dialog) gets the focus, obscuring the dialog box.
> 
> 
> 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?
> 
> -M
> 
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox

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.


More information about the openbox mailing list