Move pgtk-wait-for-event-timeout to early-init.el

This commit is contained in:
James Cherti
2025-07-14 14:04:38 -04:00
parent fb33cef88d
commit 664c574657
2 changed files with 5 additions and 5 deletions

View File

@@ -218,6 +218,11 @@ pre-early-init.el, and post-early-init.el.")
(when minimal-emacs-debug (when minimal-emacs-debug
(setq message-log-max 16384)) (setq message-log-max 16384))
;; In PGTK, this timeout introduces latency. Reducing it from the default 0.1
;; improves responsiveness of childframes and related packages.
(when (boundp 'pgtk-wait-for-event-timeout)
(setq pgtk-wait-for-event-timeout 0.001))
;;; Performance: Miscellaneous options ;;; Performance: Miscellaneous options
;; Font compacting can be very resource-intensive, especially when rendering ;; Font compacting can be very resource-intensive, especially when rendering

View File

@@ -85,11 +85,6 @@
(setq visible-bell nil) (setq visible-bell nil)
(setq ring-bell-function #'ignore) (setq ring-bell-function #'ignore)
;; In PGTK, this timeout introduces latency. Reducing it from the default 0.1
;; improves responsiveness of childframes and related packages.
(when (boundp 'pgtk-wait-for-event-timeout)
(setq pgtk-wait-for-event-timeout 0.001))
;;; Show-paren ;;; Show-paren
(setq show-paren-delay 0.1 (setq show-paren-delay 0.1