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

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

Re: set-frame-parameter


From: steve-humphreys
Subject: Re: set-frame-parameter
Date: Thu, 10 Dec 2020 04:08:25 +0100

> Sent: Thursday, December 10, 2020 at 4:01 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: set-frame-parameter
>
> 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?

Yes because the first time I go fullscreen, I remove the menu and edit bars.

> Regards,
>
> Michael.
>
>
>



reply via email to

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