From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Sun, 30 Jun 2013 18:34:54 +0300 Message-ID: <83fvvzd335.fsf@gnu.org> References: <51C5AA68.4000204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CD49CF.1090103@gmx.at> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> <51CD6324.2040504@gmx.at> <834ncifkq9.fsf@gnu.org> <83zjuae19s.fsf@gnu.org> <83r4fmdsw5.fsf@gnu.org> <85k3ldtion.fsf@member.fsf.org> <85r4fjsjvt.fsf@member.fsf.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1372606508 732 80.91.229.3 (30 Jun 2013 15:35:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2013 15:35:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 30 17:35:08 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 1UtJec-00021J-VX for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 17:35:07 +0200 Original-Received: from localhost ([::1]:43349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtJec-00073q-GG for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 11:35:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtJeX-00072H-O8 for emacs-devel@gnu.org; Sun, 30 Jun 2013 11:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtJeW-0007WE-V1 for emacs-devel@gnu.org; Sun, 30 Jun 2013 11:35:01 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:62394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtJeW-0007W9-Nt for emacs-devel@gnu.org; Sun, 30 Jun 2013 11:35:00 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MP700200PY65Q00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sun, 30 Jun 2013 18:34:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MP7001WXPY6X270@a-mtaout23.012.net.il>; Sun, 30 Jun 2013 18:34:55 +0300 (IDT) In-reply-to: <85r4fjsjvt.fsf@member.fsf.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:161355 Archived-At: > From: Stephen Leake > Date: Sun, 30 Jun 2013 11:23:02 -0400 > > Juanma Barranquero writes: > > > On Sat, Jun 29, 2013 at 10:39 AM, Stephen Leake > > wrote: > > > >> Moving the frame outside the current display is an issue; it would be > >> nice if the restore could detect that, and keep the frames in view. > > > > How can I do that? Is there any way to get from Emacs the maximum > > dimensions of a frame in the current display, > > (display-pixel-height) > (display-pixel-width) Doesn't this disregards the size of the frame decorations?