metacity 2.8.2 focus new windows

Joe Marcus Clarke marcus at marcuscom.com
Fri Aug 6 12:48:12 PDT 2004


On Fri, 2004-08-06 at 11:17, Franz Klammer wrote:
> James Earl wrote:
> > Hi,
> > 
> > I seem to be having some problems with metacity 2.8.2.  Basically when I
> > start a new application from anywhere, it doesn't receive focus and is
> > started underneith existing windows.  I believe I first noticed the
> > problem after upgrading to metacity 2.8.2.
> > 
> > Has anyone else experienced this, or is this just an upgrade issue?
> > 
> > Just thought I'd check quick before I start deleting stuff in my home
> > directory.
> > 
> 
> i've played arround a little bit and found (at last for me) the patch
> as temporary solution until there is a real fix:
> 
> --- src/display.c.orig      Mon Aug  2 21:23:03 2004
> +++ src/display.c   Fri Aug  6 17:11:27 2004
> @@ -1867,6 +1867,8 @@
>           {
>             window = meta_window_new (display, event->xmaprequest.window,
>                                       FALSE);
> +         meta_window_focus (window, meta_display_get_current_time (window->display));
> +         meta_window_make_above(window);
>           }
>         /* if frame was receiver it's some malicious send event or something */
>         else if (!frame_was_receiver && window)
> 
> maybe it only a quick and dirty hack - but it seems to work.

There's an even quicker and dirtier one that I'm going to evaluate.

Joe

> 
> franz.
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040806/26d4eb2c/attachment.bin


More information about the freebsd-gnome mailing list