From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: set-frame-parameter Date: Thu, 10 Dec 2020 03:33:24 +0100 Message-ID: References: <87o8j237ut.fsf@rub.de> <87mtymy0ke.fsf@web.de> <87h7ouxzps.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28581"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , help-gnu-emacs@gnu.org To: steve-humphreys@gmx.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 10 03:34:16 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knBma-0007LV-If for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 03:34:16 +0100 Original-Received: from localhost ([::1]:45640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knBmZ-0002mw-L9 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 21:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knBlp-0002mp-5y for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 21:33:29 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:38125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knBlm-0004ly-VJ for help-gnu-emacs@gnu.org; Wed, 09 Dec 2020 21:33:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607567605; bh=tPfWAykpEN4JVeAeCwW2IgIi6GIs8XCxpnIG/oMQLUA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=TY2z3XmoAA4gIy3C4WybqDTZc8rT1fyKJaVv9hHVC3DI/R4Nan1FShNwQCraekwHx G7bV1VnWn9Eax5+VhUrYsbFSFRulReYdqptACcEzoj3BTZraR36hyjMu+nvfZlAK6n DNHc2MhGE0FBKJ20kkPT1AlCXg9P4ADGsEc9JbF0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Thu, 10 Dec 2020 03:33:24 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:XzEUUWHHlo0NRs4ffxThDVXqjvpvoWa/t5/nU5SS7enAXdIqJic6oSw/hdUpI9FrbELPv aHkz74BadXxLoQYA207P6Z/TdVgxtLeODIJxeTgItw42JGjoZN9OzPNInoFpdU3zHB+zBcyO0Bvz 8QZ097HGihquCpngqyyBQGcrBJyTfQQLIr9Va/yO3qGpFrjuTHMnj4x+5EJEaXzo3YROhVIFNSZe 8rC+8I/vRcwO9ssf5U6Y2ZwJtKBJUDphwZTknG406L+ZANI80CRpi3hEYrUptwEKZwbhyCrHjruS Tk= X-UI-Out-Filterresults: notjunk:1;V03:K0:eo6RE2J2Mm0=:LPwJwGp0Gr3RbphPzYHYcE MmRHO7iFBv3K4+h3oPVG75Bl9HRa3rIdJ3jVf/Q6rwlGfT3X2npz1AsO85OsrV8qSumZyFIeT nrDIyp9nt80M44gyhUQYMFLXtVnyNOeyuDna2BEG3h+4KYBYXfC50VbLYz3f9CgbG3W+3KHtj J0PbK8zC/fls5ZTsMK6xqZjcdHmoy2TW0TdkP7fhkid9GS6DME03w5ehji7zMlfhpG6O1PaE2 7vEosS3TPN6gIXwCV+WI2Zz5V66eHJCs2iGoZWyi6RaT24+dgnMTBpZYWEKP6Nmc5VlTyQb3r +jpbCnE64qh8MdudBnefQe7dH0RQlqiY9pKjdEwnbgURoriLoWZWFrP6jsTy7fpJfsksiLpNC VV59hYYHlizjLgW/QIMVwDKnpyQC/n12qrD/AmhYmRjXmGXBppZqtfLc1QL/JIXkQpWnOxQVo GsxizEcEF7mpq3S47nXGbXk+Jj3Gc845rclLBQcylRFIsduyJoUNH/ULibXx1Zm0GfxBjL/i5 U/5lZ4AAQh0LR6NvgfCZU8Lva9JxpLzGojuzxObpiUwJeowKeV1t21JdSwn7TK1MfigsrC3j2 OmrDwqpukXtp4= Received-SPF: pass client-ip=212.227.15.19; envelope-from=steve-humphreys@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126209 Archived-At: I wonder which way I should do things for fullscreen and re-sizing. Is it good to use set-frame-parameter for fullscreen, and for re-sizing using set-frame-size? Have done as follows to make same size frame using set-frame-size. (let ((w (frame-width)) (h (frame-height))) (set-frame-parameter (selected-frame) 'fullscreen nil) (set-frame-size nil w h)) > Sent: Thursday, December 10, 2020 at 3:13 AM > From: steve-humphreys@gmx.com > To: "Michael Heerdegen" > Cc: help-gnu-emacs@gnu.org > Subject: Re: set-frame-parameter > > > Sent: Thursday, December 10, 2020 at 1:38 AM > > From: "Michael Heerdegen" > > To: help-gnu-emacs@gnu.org > > Subject: Re: set-frame-parameter > > > > Michael Heerdegen writes: > > > > > (set-frame-parameter (selected-frame) 'fullscreen nil) > > > > Yes, when I'm reading the C source correctly (`adjust_frame_size') > > there are different reasons why resizing can be inhibited. > > > > One reason is when `frame_inhibit_resize', which checks for the > > fullscreen variants, says so. > > > > So what we see seems to be expected. > > Thank you. I think there are some commands to get the width > and height of the screen. I would like to set the frame > explicitly after going full screen. > > > Michael. > > >