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

Emile Snyder emile at alumni.reed.edu
Tue May 9 12:46:21 EDT 2006


On Tue, 2006-05-09 at 10:17 +0200, Mikael Magnusson wrote:
> 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));
> }

Sorry, what do you mean here?

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/b26e9215/attachment.pgp>


More information about the openbox mailing list