Date: Fri, 06 Aug 2004 17:17:12 +0200 From: Franz Klammer <klammer@webonaut.com> To: James Earl <james@icionline.ca> Cc: gnome@FreeBSD.org Subject: Re: metacity 2.8.2 focus new windows Message-ID: <4113A0F8.8060403@webonaut.com> In-Reply-To: <1091746869.38537.0.camel@tech.icionline.ca> References: <1091746869.38537.0.camel@tech.icionline.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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. franz.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4113A0F8.8060403>