From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Thu, 27 Jun 2013 22:49:46 +0200 Message-ID: <51CCA56A.8000508@gmx.at> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372366198 32238 80.91.229.3 (27 Jun 2013 20:49:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 20:49:58 +0000 (UTC) Cc: Angelo Graziosi , Emacs developers , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 27 22:49:58 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 1UsJ8g-0008El-4e for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 22:49:58 +0200 Original-Received: from localhost ([::1]:44247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsJ8f-0001hM-Dx for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 16:49:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsJ8c-0001hD-9r for emacs-devel@gnu.org; Thu, 27 Jun 2013 16:49:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsJ8a-0004uC-8H for emacs-devel@gnu.org; Thu, 27 Jun 2013 16:49:54 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:64811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsJ8Z-0004rC-Ve for emacs-devel@gnu.org; Thu, 27 Jun 2013 16:49:52 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.4]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MYqOT-1UomkA2ITr-00Vh7G for ; Thu, 27 Jun 2013 22:49:49 +0200 Original-Received: (qmail invoked by alias); 27 Jun 2013 20:49:49 -0000 Original-Received: from 62-47-59-151.adsl.highway.telekom.at (EHLO [62.47.59.151]) [62.47.59.151] by mail.gmx.net (mp004) with SMTP; 27 Jun 2013 22:49:49 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19qJHVd8ClqDM2S4O+z/75nWWxY6E2WArEobK+nTG Z6boZiUIKNNiAX In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.15 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:161152 Archived-At: >> This means one slot for each frame edge ;-) > > Is that price too high? :-) 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. martin