[openbox] personal fix for focus follows mouse and keybinding raise/lower window

Mikael Magnusson mangosoft at comhem.se
Wed May 10 11:07:15 EDT 2006


On Tue, 9 May 2006, Emile Snyder wrote:

> On Tue, 2006-05-09 at 19:08 +0200, Mikael Magnusson wrote:
>> On Tue, 9 May 2006, Emile Snyder wrote:
>>
>>> On Tue, 2006-05-09 at 10:17 +0200, Mikael Magnusson wrote:
>>>> On Tue, 9 May 2006, Emile Snyder wrote:
>>>>> void action_lower(union ActionData *data)
>>>>> {
>>>>>    client_action_start(data);
>>>>>    stacking_lower(CLIENT_AS_WINDOW(data->client.any.c));
>>>>>    client_action_end(data);
>>>>>    ObClient *newfocusedclient = client_under_pointer();
>>>>>    client_focus(newfocusedclient);
>>>>> }
>
> Ah, so the action_start and action_end are to prevent the focus
> adjustment that would otherwise occur?

Yes.

> Thanks much,
> -emile


--
Mikael Magnusson



More information about the openbox mailing list