all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: set-frame-parameter
Date: Thu, 10 Dec 2020 04:01:50 +0100	[thread overview]
Message-ID: <87im9a749t.fsf@web.de> (raw)
In-Reply-To: trinity-26db5c75-33d0-4540-aa77-f8a583148ce4-1607567604737@3c-app-mailcom-bs13

steve-humphreys@gmx.com writes:

> 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))

I don't understand that code.  You resize the frame to its...current
size?

Regards,

Michael.




  reply	other threads:[~2020-12-10  3:01 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 22:24 set-frame-parameter steve-humphreys
2020-12-09 22:58 ` set-frame-parameter Stephen Berman
2020-12-09 23:04   ` set-frame-parameter steve-humphreys
2020-12-09 23:13     ` set-frame-parameter Stephen Berman
2020-12-09 23:19       ` set-frame-parameter steve-humphreys
2020-12-09 23:26         ` set-frame-parameter Stephen Berman
2020-12-09 23:29           ` set-frame-parameter Stephen Berman
2020-12-09 23:39             ` set-frame-parameter steve-humphreys
2020-12-09 23:46               ` set-frame-parameter Stephen Berman
2020-12-09 23:49                 ` set-frame-parameter steve-humphreys
2020-12-09 23:43             ` set-frame-parameter steve-humphreys
2020-12-09 23:47               ` set-frame-parameter Stephen Berman
2020-12-09 23:50                 ` set-frame-parameter steve-humphreys
2020-12-10  0:19     ` set-frame-parameter Michael Heerdegen
2020-12-10  0:38       ` set-frame-parameter Michael Heerdegen
2020-12-10  2:13         ` set-frame-parameter steve-humphreys
2020-12-10  2:33           ` set-frame-parameter steve-humphreys
2020-12-10  3:01             ` Michael Heerdegen [this message]
2020-12-10  3:08               ` set-frame-parameter steve-humphreys
2020-12-10  3:55                 ` set-frame-parameter Michael Heerdegen
2020-12-10  4:09                   ` set-frame-parameter steve-humphreys
2020-12-10  3:17               ` set-frame-parameter steve-humphreys
2020-12-10  3:42                 ` set-frame-parameter steve-humphreys
2020-12-10  3:59                 ` set-frame-parameter Michael Heerdegen
2020-12-10  4:11                   ` set-frame-parameter steve-humphreys
2020-12-10 16:13                     ` set-frame-parameter Drew Adams
2020-12-10 17:26                       ` set-frame-parameter Michael Heerdegen
2020-12-10 18:31                         ` set-frame-parameter Drew Adams
2020-12-10 18:45                       ` set-frame-parameter Pankaj Jangid
2020-12-10 18:51                         ` set-frame-parameter Drew Adams
2020-12-10 19:03                           ` set-frame-parameter steve-humphreys
2020-12-10 20:44       ` set-frame-parameter Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im9a749t.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.