From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Add function to make frame topmost? Date: Sat, 01 May 2010 20:36:49 -0400 Message-ID: References: <4BDB5A6E.5060803@harpegolden.net> <4BDB8886.4050202@harpegolden.net> <4BDC6CE7.8060400@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272760622 25083 80.91.229.12 (2 May 2010 00:37:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 May 2010 00:37:02 +0000 (UTC) Cc: Jan =?iso-8859-1?Q?Dj=E4rv?= , Lennart Borgman , Emacs-Devel devel To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 02 02:37:01 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O8NB6-000358-Uf for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 02:37:01 +0200 Original-Received: from localhost ([127.0.0.1]:59910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8NB6-0004G8-FD for ged-emacs-devel@m.gmane.org; Sat, 01 May 2010 20:37:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8NAz-0004Fj-WB for emacs-devel@gnu.org; Sat, 01 May 2010 20:36:54 -0400 Original-Received: from [140.186.70.92] (port=50727 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8NAy-0004Fb-Qd for emacs-devel@gnu.org; Sat, 01 May 2010 20:36:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8NAx-0002GS-AM for emacs-devel@gnu.org; Sat, 01 May 2010 20:36:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:63320 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8NAx-0002GM-5S for emacs-devel@gnu.org; Sat, 01 May 2010 20:36:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAEZm3EvO+KoL/2dsb2JhbACdLHK5GoUSBIwo X-IronPort-AV: E=Sophos;i="4.52,311,1270440000"; d="scan'208";a="63051957" Original-Received: from 206-248-170-11.dsl.teksavvy.com (HELO pastel.home) ([206.248.170.11]) by ironport2-out.pppoe.ca with ESMTP; 01 May 2010 20:36:50 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D4E5582C3; Sat, 1 May 2010 20:36:49 -0400 (EDT) In-Reply-To: <4BDC6CE7.8060400@harpegolden.net> (David De La Harpe Golden's message of "Sat, 01 May 2010 19:03:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:124405 Archived-At: SM> An alternative is to use the poor-man's OO system already in place and SM> just add a set_frame_topmost_hook to the terminal object. >> Check src/termhooks.h where "struct terminal" is defined. > I'm wasn't sure why you say terminal rather than frame, though either > way it's a poor-man's OO system dealie. Futzing with _NET_WM_STATE_ABOVE is > closely analogous to futzing with _NET_WM_STATE_STICKY from within emacs, so > adding it to frame_parm_table makes most sense to me. frame_parm_table does not seem relevant since it doesn't dispatch on the display type. Stefan