From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 28 Jun 2013 15:18:13 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <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> <51CD49CF.1090103@gmx.at> <51CD5489.10902@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372425543 1308 80.91.229.3 (28 Jun 2013 13:19:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 13:19:03 +0000 (UTC) Cc: Angelo Graziosi , Emacs developers , martin rudalics , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: =?UTF-8?Q?Jan_Dj=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 15:19:03 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 1UsYZq-0004Jm-TJ for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 15:19:03 +0200 Original-Received: from localhost ([::1]:51604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsYZq-0003aj-EU for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 09:19:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsYZl-0003Xf-IX for emacs-devel@gnu.org; Fri, 28 Jun 2013 09:18:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsYZk-0004MI-Cz for emacs-devel@gnu.org; Fri, 28 Jun 2013 09:18:57 -0400 Original-Received: from mail-ie0-x22f.google.com ([2607:f8b0:4001:c03::22f]:36984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsYZi-0004Lo-96; Fri, 28 Jun 2013 09:18:54 -0400 Original-Received: by mail-ie0-f175.google.com with SMTP id a13so4168361iee.34 for ; Fri, 28 Jun 2013 06:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=4+d3N/JmN5hU6LxpT8XsK7iIMX6nudutoWjwzzrhzUk=; b=JcZLD/d17qC8b3uoqK8fqdiqhn15VdF1KrJ/3iyjV62qZjZJQvgQSOQqxyZmMVX/jd 8MQi8hhsYl83Gt4oZlGkitqQGLNB5mqtGFaRQ+2aGvdE3uU01r5ItJ4wesuYrNOqfcZ0 H5BY8LNyGoHvs2PRGFud4OKKtQVhwL6G9QJ/TIiZxkzvjghTabS8eF7suCWU7MnhDNpW eknssODn9ISlYshb2OqJNFGrKkcrYEmCYwS1mVhG4eueDLbXD3BBv1rhPq1gRy8kmze7 xGSseMjgbGRAVlaTdhNCr16nrdjwjDBNNk3Yb/dHtOZZAah27eymj8l6WIfzaxnk4qWD W8iA== X-Received: by 10.50.23.8 with SMTP id i8mr3672080igf.42.1372425533728; Fri, 28 Jun 2013 06:18:53 -0700 (PDT) Original-Received: by 10.64.126.161 with HTTP; Fri, 28 Jun 2013 06:18:13 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22f 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:161201 Archived-At: On Fri, Jun 28, 2013 at 2:31 PM, Jan Dj=C3=A4rv wrote: > So if I saved a maximized frame on a small monitor, it will be maximized = when > i restore the desktop on a larger monitor. The window manager takes care= of it, > Emacs does not need to emulate a window manager. As Martin already said, this is about what to do when de-maximized. The current code doe not remove the fullscreen parameter from the frame parameters' list, so when restoring the frame, it does not decide its size or position. The window manager does. There's also the issue that you can have fullwidth or fullheight frames. For these, keeping the height or width, respectively, is important because you want to restore them to the full widht or height (the window manager should take care of it), but to the height / width they had before. J