From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: raise-frame doesn't work in Fedora Core 4 Date: Tue, 31 Oct 2006 21:14:43 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1162347672 25285 80.91.229.2 (1 Nov 2006 02:21:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Nov 2006 02:21:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 01 03:21:11 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 1Gf5j0-0008RZ-DI for ged-emacs-devel@m.gmane.org; Wed, 01 Nov 2006 03:21:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gf5iz-00026s-Va for ged-emacs-devel@m.gmane.org; Tue, 31 Oct 2006 21:21:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gf5cr-0002HJ-33 for emacs-devel@gnu.org; Tue, 31 Oct 2006 21:14:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gf5cq-0002Fn-Bj for emacs-devel@gnu.org; Tue, 31 Oct 2006 21:14:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gf5cp-0002FH-UW for emacs-devel@gnu.org; Tue, 31 Oct 2006 21:14:43 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gf5cp-0004Tf-Sy for emacs-devel@gnu.org; Tue, 31 Oct 2006 21:14:43 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Gf5cp-0001L8-3m; Tue, 31 Oct 2006 21:14:43 -0500 Original-To: Kenichi Handa In-reply-to: (message from Kenichi Handa on Tue, 31 Oct 2006 20:12:44 +0900) 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:61521 Archived-At: Now I realized I can use the program called `wmctrl'[1] to solve the problem. Here's an new advice: (defadvice raise-frame (after make-it-work (&optional frame) activate) "Make it work." (call-process "wmctrl" nil nil nil "-i" "-R" (frame-parameter (or frame (selected-frame)) 'outer-window-id))) That is an ugly solution. How does the wmctrl program actually do this? I have only the knowledge that Fedora Core 4 uses the metacity window manager, sorry. Does this use of wmctrl work correctly with other window managers?