From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: raise-frame doesn't work in Fedora Core 4 Date: Thu, 02 Nov 2006 08:56:04 +0100 Message-ID: <4549A494.1000801@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162454226 18563 80.91.229.2 (2 Nov 2006 07:57:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Nov 2006 07:57:06 +0000 (UTC) Cc: jet@gyve.org, yamaoka@jpl.org, emacs-devel@gnu.org, Stefan Monnier , handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 02 08:57:03 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 1GfXRQ-0001cT-Dy for ged-emacs-devel@m.gmane.org; Thu, 02 Nov 2006 08:56:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfXRP-0002LD-Q5 for ged-emacs-devel@m.gmane.org; Thu, 02 Nov 2006 02:56:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GfXRA-0002FU-Hn for emacs-devel@gnu.org; Thu, 02 Nov 2006 02:56:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GfXR9-0002CY-IE for emacs-devel@gnu.org; Thu, 02 Nov 2006 02:56:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfXR9-0002Bw-Ez for emacs-devel@gnu.org; Thu, 02 Nov 2006 02:56:31 -0500 Original-Received: from [81.228.8.184] (helo=av11-2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GfXR8-0005NV-Eg; Thu, 02 Nov 2006 02:56:30 -0500 Original-Received: by av11-2-sn2.hy.skanova.net (Postfix, from userid 502) id 30CA737FA6; Thu, 2 Nov 2006 08:56:29 +0100 (CET) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av11-2-sn2.hy.skanova.net (Postfix) with ESMTP id 1E07B37F38; Thu, 2 Nov 2006 08:56:29 +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 5C88237E5A; Thu, 2 Nov 2006 08:56:20 +0100 (CET) User-Agent: Thunderbird 1.5.0.7 (X11/20060913) Original-To: rms@gnu.org 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:61600 Archived-At: Richard Stallman skrev: > In either case, I think we should first make sure this is not a bug in the > window manager rather than in Emacs. To me at least, it sounds like a plain > bug in the window-manager. > > Can we find an Xpert who is in a position to say? > Not claiming to be an Xpert, but IMHO the behaviour is a bit surprising. If you follow ICCCAM it does not say a WM may intercept XRaiseWindow. But on the other hand, it does not say a WM can't do that either. The new spec on the other hand, do say a WM may choose to ignore XRaiseRequests. It says that to really get it raised, one should use _NET_RESTACK_WINDOW. A side note, _NET_ACTIVATE_WINDOW does more that XRaiseWindow. If your window is on another workspace/desktop, XRaiseWindow does nothing. _NET_ACTIVATE_WINDOW on the other hand (at least with Gnome/Metacity), switches to that desktop/workspace and then does what XRaiseWindow does. In contrast to what wmctrl -R does, it moves the window to the current desktop/workspace and then raises it. Additionally, there are new states for windows besides Normal/Withdrawn/Iconified. There are shaded windows (only the title bar is shown) also. _NET_ACTIVATE_WINDOW works with these as well. I think XRaiseWindow does not work with windows that are on desktops/workspaces that aren't the current one, so I guess some WM:s choose to ignore all XRaiseWindow requests just to avoid trouble. Jan D.