From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Add function to make frame topmost? Date: Sat, 1 May 2010 13:20:23 -0700 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="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272745272 17447 80.91.229.12 (1 May 2010 20:21:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 May 2010 20:21:12 +0000 (UTC) Cc: =?iso-8859-1?Q?'Jan_Dj=E4rv'?= , 'Lennart Borgman' , 'Emacs-Devel devel' To: "'David De La Harpe Golden'" , "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 01 22:21:10 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 1O8JBU-0007AJ-4n for ged-emacs-devel@m.gmane.org; Sat, 01 May 2010 22:21:08 +0200 Original-Received: from localhost ([127.0.0.1]:56063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8JBT-0004tT-AY for ged-emacs-devel@m.gmane.org; Sat, 01 May 2010 16:21:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8JBN-0004ri-IS for emacs-devel@gnu.org; Sat, 01 May 2010 16:21:01 -0400 Original-Received: from [140.186.70.92] (port=47621 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8JBM-0004pk-0j for emacs-devel@gnu.org; Sat, 01 May 2010 16:21:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8JBK-0001Q7-Ea for emacs-devel@gnu.org; Sat, 01 May 2010 16:20:59 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:35142) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8JBK-0001Py-9A for emacs-devel@gnu.org; Sat, 01 May 2010 16:20:58 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o41KKsWd010759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 1 May 2010 20:20:55 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o41Jxd9k027822; Sat, 1 May 2010 20:20:53 GMT Original-Received: from abhmt015.oracle.com by acsmt353.oracle.com with ESMTP id 207062751272745214; Sat, 01 May 2010 13:20:14 -0700 Original-Received: from dradamslap1 (/141.144.168.43) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 01 May 2010 13:20:14 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4BDC6CE7.8060400@harpegolden.net> Thread-Index: AcrpWJ8m6bsCum6uTlml5RDKhIryJQAEeesw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Auth-Type: Internal IP X-Source-IP: rcsinet15.oracle.com [148.87.113.117] X-CT-RefId: str=0001.0A090202.4BDC8D28.003A:SCFMA4539811,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:124399 Archived-At: > > 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. > > I guess there is a danger that if it is added it might be abused, but > FWIW, a patch that adds 'stacking-layer (and 'shaded, which I just > thought I'd do while I was there) frame parameters for X11 by analogy > with 'sticky is straightforward and attached, it might be > independently vaguely useful for some users? But don't expect > me to argue strongly for its inclusion. > > Implementation of a w32 x_set_stacking_layer toggling TOPMOST > should be straightforward (though I don't see a BOTTOMMOST, > so I guess they have a layer less than us). I have found > that there are add-ons for windows that do use TOPMOST to > produce an "Always on top" setting very much akin to a > typical X11 window manager: > http://www.ghacks.net/2008/09/12/window-always-on-top-with-power-menu/ > so perhaps it's about as valid a thing to add on w32 as the x11 > stacking-layer support is on x11. Would enhancement request (bug) #4476 (#3464) be relevant here? (I'm not following this discussion much.)