[openbox] [ANNOUNCE] Openbox-3.0-beta6 released

Ben Jansens ben at orodu.net
Fri Sep 26 13:59:36 EDT 2003


On Fri, Sep 26, 2003 at 12:52:12PM -0500, Mike wrote:
> Ah I see you included the old transient focus behavior stuffs. I've been 
> trying to get focus to work more like old openbox2/blackbox, and that 
> helps. :)

Yep that was simply an oversight on my part. I think that is the correct
behavior.

> I have a question about focus_fallback() though.
> 
>    if (!config_focus_last && config_focus_follow)
>        if (focus_under_pointer())
>            return;

If you are using sloppy focus AND you are NOT using focusLast, then it will
try to focus under the pointer. If it fails, it will continue as if
focusLast was on.

> That doesn't seem right to me, maybe I'm just confused or not understanding 
> the bigger picture.
> 
> Should it look more like this?
> 
>    if (!config_focus_last || (config_focus_follow && focus_under_pointer())
>        return;

With this, if you turn off focusLast you will end up focusing nothing. If
you meant to make it not focus anything if the pointer was not on a window,
that is not behavior I wish to create. Focus should alawys be somewhere
usuable if possible.

> Otherwise I don't see what difference disabling focusLast would make if 
> followsMouse wasn't enabled. It will always focusLast regardless of the 
> setting.

Correct. When not using sloppy focus, the option does not change anything.
This is reflected in ObConf by disabling the option box.

> I modify this bit anyway so transients are focused before 
> focus_under_pointer(). Again it goes back to stuff like Mozilla's find in 
> page dialog. Although I'm not sure if this is how openbox2 worked or not, 
> but I like it anyway. :)

Hm, that may be a good idea.

> Before 3.0 final comes out, it'd be nice to have configurable window 
> placement. There were also a few posts about popups for window/workspace 
> cycling. Making that configurable is pretty simple, maybe something to 
> consider.

Popups can be disabled again in CVS already. And I'm still mulling over
window placement :)

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/20030926/488dfe48/attachment.pgp>


More information about the openbox mailing list