help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set-frame-parameter


From: Michael Heerdegen
Subject: Re: set-frame-parameter
Date: Thu, 10 Dec 2020 04:01:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]