all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#57758: Using menu-bar-mode and tool-bar-mode changes frame size
@ 2022-09-12 21:45 uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-09-13  2:28 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 9+ messages in thread
From: uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-09-12 21:45 UTC (permalink / raw)
  To: 57758

I have noticed that calling repeatedly  "frame-fullscreen"  followed by  "frame-normal"  changes
the size of the frame.  The problem happens when calling "menu-bar-mode" and "tool-bar-mode".

Having only (toggle-frame-fullscreen) keep the frame size intact.

--------

(defun frame-fullscreen ()

  (interactive)

  (toggle-frame-fullscreen) (menu-bar-mode -1) (tool-bar-mode -1))

--------

(defun frame-normal ()

  (interactive)

  (menu-bar-mode 1) (tool-bar-mode 1) (toggle-frame-fullscreen))







^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-13 13:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12 21:45 bug#57758: Using menu-bar-mode and tool-bar-mode changes frame size uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13  2:28 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13  3:20   ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13  3:52     ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13  3:55     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13  4:05       ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13  4:56         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13 11:57           ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13 13:00             ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.