[openbox] Full screen windows auto raise using sloppy focus

Mikael Magnusson mikachu at gmail.com
Sat Oct 11 19:17:29 EDT 2014


On Sat, Oct 11, 2014 at 10:42 PM, Walter Alejandro Iglesias
<eloi at roquesor.com> wrote:
> Hi everyone,
>
> Openbox is the only window manager that let me do what I want, except
> for some details.  In order of relevance I'd like to:
>
>   1. Avoid full screen windows "auto raise" when the pointer enters on
> them (using sloppy focus).

Not a full "solution", but greatly mitigated by setting a decent
focusdelay, I use 200 milliseconds. This eg allows you to move across
a fullscreen window to get from one window to another. If you actually
want a fullscreen window in the background, you're out of luck.
Unfullscreen it, maximize it, and toggledecor it I guess?

>   2. Avoid forced key accelerators in menus, and to be able to navigate
> them using vi keys (a bit slower but more reliable).

If we did this, we would need to allow customizable movement keybinds
for menus, which would be quite a bit of work.

>   3. To have some "never focus" option for apps like xload, xbiff.

This can be done by running some external program [1] that sets the
"no focus" flag on the program, if the program itself doesn't support
it. (I've never seen any that do).

[1] http://mika.l3ib.org/code/prop.c This program allows you to modify
various hints on existing windows, with one argument (the hint), it
changes that hint on the window you click. With two arguments it
changes that hint on the specified window id (as given by for example
xwininfo). The "no focus" flag is called "wm_hints.focus". Note also
that gtk+ apps will helpfully detect when you attempt to change hints
on its windows and undoes your changes for you.

-- 
Mikael Magnusson


More information about the openbox mailing list