From ef2ff9814984734d98f9c2f7c58262925a743e91 Mon Sep 17 00:00:00 2001 From: Mountain Man Date: Sun, 9 Apr 2023 18:06:59 -0400 Subject: Maximize frame in Early Init Resizing is a major source of visual glitching on startup. Maximizing the frame during Early Init prevents this. --- early-init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/early-init.el b/early-init.el index 24b53b0..9b5474f 100644 --- a/early-init.el +++ b/early-init.el @@ -35,3 +35,16 @@ ;; Disable scroll bars (push '(vertical-scroll-bars . 0) default-frame-alist) + + +;; --------------------------------- +;; Maximize frame on startup +;; ------------------------- +;; Resizing is one of the primary +;; sources of visual glitching. +;; --------------------------------- + +(push '(fullscreen . maximized) initial-frame-alist) +(push '(ns-transparent-titlebar . t) default-frame-alist) +(setq frame-inhibit-implied-resize t + frame-resize-pixelwise t) -- cgit v1.2.3