[openbox] an alternative to underMouse, was: Re: [openbox] MoveToEdge loses focus in 3.4.4
Dana Jansens
danakj at orodu.net
Thu Aug 23 17:13:57 EDT 2007
On 8/16/07, Brian de Alwis <bsd at cs.ubc.ca> wrote:
> I *was* having similar focus issues as Andrei. I bind W-F1 to
> RaiseLower and the W-arrows to MoveToEdge*, and use them very
> frequently for moving windows about. I couldn't get them to both
> work without Dana's focus_oddity.diff patch combined with
> <underMouse>yes</underMouse> and using the Activate action in the
> W-{Left,Right,Up,Down}. So my W-{Left,Right,Up,Down} bindings now
> look like the following:
>
> <keybind key="W-Left">
> <action name="MoveToEdgeWest"/>
> <action name="Activate"/>
> </keybind>
>
> But I'm finding that when using the combinations, the focus is
> sometimes lost from the moving window and being wrongly transferred
> to the underlying window. I've just realized that this occurs when
> moving something like an xterm that is on top of an Eclipse or
> Firefox window. Consider the following example, where the asterisk
> indicates the mouse pointer:
>
> +-----------------+
> | Firefox |
> | +---------------+
> | | |
> | | * xterm |
> | | |
> | +---------------+
> | |
> +-----------------+
>
> Hitting W-Left until the xterm slides out from under the mouse will
> cause the xterm to lose focus to Firefox. It's 100 % reproducible
> -- moving xterm over an xterm is fine, but xterm over Firefox or
> Eclipse always loses focus to the Firefox/Eclipse window.
I am actually unable to reproduce this with Firefox or Eclipse with
the Activate binding in 3.4.4 with that patch applied. Am I doing
something wrong?
More information about the openbox
mailing list