Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Aug 2004 15:48:11 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: metacity 2.8.2 focus new windows
Message-ID:  <1091821691.745.25.camel@gyros>
In-Reply-To: <4113A0F8.8060403@webonaut.com>
References:  <1091746869.38537.0.camel@tech.icionline.ca> <4113A0F8.8060403@webonaut.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-eoVFAIQaw8nJn7BSjEUA
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-08-06 at 11:17, Franz Klammer wrote:
> James Earl wrote:
> > Hi,
> >=20
> > 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.
> >=20
> > Has anyone else experienced this, or is this just an upgrade issue?
> >=20
> > Just thought I'd check quick before I start deleting stuff in my home
> > directory.
> >=20
>=20
> i've played arround a little bit and found (at last for me) the patch
> as temporary solution until there is a real fix:
>=20
> --- 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 =3D meta_window_new (display, event->xmaprequest.windo=
w,
>                                       FALSE);
> +         meta_window_focus (window, meta_display_get_current_time (windo=
w->display));
> +         meta_window_make_above(window);
>           }
>         /* if frame was receiver it's some malicious send event or someth=
ing */
>         else if (!frame_was_receiver && window)
>=20
> 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

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



--=-eoVFAIQaw8nJn7BSjEUA
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBE+B7b2iPiv4Uz4cRAs9vAJ0V8RuqdFWgSJyhLvfkg+ljp37GmQCfePRb
lGIKGAf7iBNiu4vbVzNE0Ik=
=Zznl
-----END PGP SIGNATURE-----

--=-eoVFAIQaw8nJn7BSjEUA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1091821691.745.25.camel>