I have just move to MS Windows 10, and installed emacs. Emacs starts with the frame maximized. I don't want that. I tried the -geometry option. First an initial frame is evident. Then a smaller frame corresponding (I think) to the -geometry specification. Then the frame maximizes.
How can I prevent that maximization?
I grabbed a .emacs file from the Internet that set up some defaults that I like. This default behaior is one I don't like, but I can't see where in the .emacs file this it is specified.
Emacs -Q
and verify that Emacs is not maximized on startup. Then, bisect your user configuration and find out where you are maximizing it. Addingtoggle-frame-maximized
is likely undoing something you have done earlier in the startup process. As such, addingtoggle-frame-maximized
(to the end of the.emacs
file) is almost certainly the wrong answer (or it is inefficient at best). – lawlist Apr 13 '18 at 23:01