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

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

bug#57758: Using menu-bar-mode and tool-bar-mode changes frame size


From: uzibalqa
Subject: bug#57758: Using menu-bar-mode and tool-bar-mode changes frame size
Date: Mon, 12 Sep 2022 21:45:56 +0000

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







reply via email to

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