[openbox] personal fix for focus follows mouse and keybinding raise/lower window
Emile Snyder
emile at alumni.reed.edu
Tue May 9 13:16:03 EDT 2006
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?
Thanks much,
-emile
> >>> 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?
>
> I mean that my code should do the same as your code, possibly a bit
> better.
>
> > thanks,
> > -emile
>
> --
> Mikael Magnusson
>
-------------- 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/dc55cf4a/attachment.pgp>
More information about the openbox
mailing list