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: How to restore the layout? Date: Fri, 28 Jun 2013 10:13:57 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <87r4frcq9v.fsf@rosalinde.fritz.box> <87vc5345t3.fsf@gmail.com> <51C8B2C8.4000803@gmx.at> <51C93CDB.2020301@gmx.at> <51C9C790.3020407@gmx.at> <51CA0D4C.7080204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372407251 27532 80.91.229.3 (28 Jun 2013 08:14:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 08:14:11 +0000 (UTC) Cc: Angelo Graziosi , Juanma Barranquero , Emacs developers , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 10:14:10 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UsTon-0007dL-7x for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 10:14:09 +0200 Original-Received: from localhost ([::1]:48146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsTom-0007d1-Ol for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 04:14:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsToi-0007ck-FS for emacs-devel@gnu.org; Fri, 28 Jun 2013 04:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsToh-0003Hz-88 for emacs-devel@gnu.org; Fri, 28 Jun 2013 04:14:04 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:42512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsToh-0003HT-0q for emacs-devel@gnu.org; Fri, 28 Jun 2013 04:14:03 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 62BB3CC78 for ; Fri, 28 Jun 2013 10:13:58 +0200 (CEST) Original-Received: (qmail 29040 invoked by uid 89); 28 Jun 2013 08:13:58 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.melmac.se with ESMTPA; 28 Jun 2013 08:13:58 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8B0F71A0227; Fri, 28 Jun 2013 08:13:57 +0000 (UTC) In-Reply-To: <51CCA56A.8000508@gmx.at> X-Mailer: Apple Mail (2.1508) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 62.20.26.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161173 Archived-At: Hello. 27 jun 2013 kl. 22:49 skrev martin rudalics : > >> This means one slot for each frame edge ;-) > > > > Is that price too high? :-) >=20 > On Windows we could use GetWindowPlacement which IIUC reliably gives = us > the coordiantes of the normal window. But Jan will almost certainly > tell us that with some window managers size hints are not trustworthy, > so we'd have to, before each maximize / minimize / fullscreen command, > record the normal coordinates which is also tedious because we'd have > to know for sure that the window _is_ maximized / minimized / > fullscreen. We could use a frame parameter for systems where we can't > get sizes / positions realiably but all this will likely get tedious. >=20 If you are looking for the size/position a window had before i was = maximized/fullscreen, there is no such hint. Hints reflect the current = state only. Hints in general are reliable, as they are well specified. Jan D.