From owner-freebsd-gnome@FreeBSD.ORG Fri Aug 6 15:17:14 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB11B16A4CE for ; Fri, 6 Aug 2004 15:17:14 +0000 (GMT) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CF0343D49 for ; Fri, 6 Aug 2004 15:17:14 +0000 (GMT) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id B003A7642C; Fri, 6 Aug 2004 17:17:11 +0200 (CEST) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41806-07; Fri, 6 Aug 2004 17:17:06 +0200 (CEST) Received: from [192.168.0.9] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id B822976428; Fri, 6 Aug 2004 17:17:06 +0200 (CEST) Message-ID: <4113A0F8.8060403@webonaut.com> Date: Fri, 06 Aug 2004 17:17:12 +0200 From: Franz Klammer User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040719) X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Earl References: <1091746869.38537.0.camel@tech.icionline.ca> In-Reply-To: <1091746869.38537.0.camel@tech.icionline.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at webonaut.com cc: gnome@FreeBSD.org Subject: Re: metacity 2.8.2 focus new windows X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 15:17:14 -0000 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.