Dont show menu-bar or tool-bar by calling toggle-frame

This commit is contained in:
Marcus Kammer 2024-09-15 10:41:45 +02:00
parent f56a44a213
commit 02aeb16991
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -515,11 +515,7 @@ an ALIAS and SERVICE as arguments and call
(progn
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1))
(progn
(menu-bar-mode 1)
(tool-bar-mode 1)
(scroll-bar-mode 1)))
(scroll-bar-mode -1)))
(message "Window decorations %s" (if new-undecorated "disabled" "enabled"))))
(global-set-key (kbd "<f12>") 'mk/toggle-frame-decorations)