[openbox] personal fix for focus follows mouse and keybinding raise/lower window
Mikael Magnusson
mangosoft at comhem.se
Tue May 9 04:17:36 EDT 2006
On Tue, 9 May 2006, Emile Snyder wrote:
> Sorry to ignite all this controversy. In the interest of anyone who
> wants to do this in the future, my fix: in action.c I changed the
> action_lower function from
>
> void action_lower(union ActionData *data)
> {
> client_action_start(data);
> stacking_lower(CLIENT_AS_WINDOW(data->client.any.c));
> client_action_end(data);
> }
>
> to
>
> 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);
> }
>
> Works like a charm as far as I can tell. If I've done anything
> obviously stupid please let me know,
void action_lower(union ActionData *data)
{
stacking_lower(CLIENT_AS_WINDOW(data->client.any.c));
}
> thanks,
> -emile
--
Mikael Magnusson
More information about the openbox
mailing list