From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: raise-frame doesn't work in Fedora Core 4 Date: Wed, 01 Nov 2006 08:08:32 +0100 Message-ID: <454847F0.4090403@swipnet.se> References: <45478595.5090306@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162364965 30952 80.91.229.2 (1 Nov 2006 07:09:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Nov 2006 07:09:25 +0000 (UTC) Cc: Masatake YAMATO , Katsumi Yamaoka , Kenichi Handa , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 01 08:09:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GfADx-0001Xo-MO for ged-emacs-devel@m.gmane.org; Wed, 01 Nov 2006 08:09:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfADx-00023a-4S for ged-emacs-devel@m.gmane.org; Wed, 01 Nov 2006 02:09:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GfADh-00020e-Fn for emacs-devel@gnu.org; Wed, 01 Nov 2006 02:09:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GfADg-0001z9-Ib for emacs-devel@gnu.org; Wed, 01 Nov 2006 02:09:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfADg-0001yt-Bu for emacs-devel@gnu.org; Wed, 01 Nov 2006 02:09:04 -0500 Original-Received: from [81.228.8.183] (helo=av11-1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GfADg-0001Zl-13 for emacs-devel@gnu.org; Wed, 01 Nov 2006 02:09:04 -0500 Original-Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id 3FE5338090; Wed, 1 Nov 2006 08:09:03 +0100 (CET) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id 2E4BD37EE8; Wed, 1 Nov 2006 08:09:03 +0100 (CET) Original-Received: from coolsville.localdomain (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id BDBBB37E5A; Wed, 1 Nov 2006 08:08:56 +0100 (CET) User-Agent: Thunderbird 1.5.0.7 (X11/20060913) Original-To: Stefan Monnier In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61536 Archived-At: Stefan Monnier skrev: needed. > > I don't understand: AFAICT the OP's problem is that `raise-frame' does not > actually raise the frame. But `raise-frame' calls XRaiseWindow, which seems > like it should raise the frame, don't you think? > XSetInputFocus seems unrelated (especially since `raise-frame' doesn't call > it AFAIK). > > In other words, to me it seems that if `raise-frame' requires this > _NET_ACTIVE_WINDOW footwork to work, it's a bug either in the WM or in the > wm-spec: `XRaiseWindow' should do just what it says, i.e. raise the window. > But maybe there's a rationale for this, so it's just a misfeature needed for > some odd reason. In that case I'd be interested to hear what's the reason > (and if the reason has to do with input-focus, I'll need more info to > understand what's the relationship with raise-frame). I agree, XRaiseWindow should do just that. The rationale I've seen is the one I sent. It is actually from a draft of the spec, newer versions don't have any rationale at all. It is a pity freedesktop specifies all this new stuff without giving any clue whatsoever as what it is for. On the other hand, it may just be another instance of "metacity does strange things". It would not be the first time. Jan D.