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

Emile Snyder emile at alumni.reed.edu
Tue May 9 03:07:52 EDT 2006


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,

thanks,
-emile


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://icculus.org/pipermail/openbox/attachments/20060509/80c99f52/attachment.pgp>


More information about the openbox mailing list