From 664c5746577afabc3428771697db65e4f5bbed7d Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Mon, 14 Jul 2025 14:04:38 -0400 Subject: [PATCH] Move pgtk-wait-for-event-timeout to early-init.el --- early-init.el | 5 +++++ init.el | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/early-init.el b/early-init.el index 9c040e8..f032939 100644 --- a/early-init.el +++ b/early-init.el @@ -218,6 +218,11 @@ pre-early-init.el, and post-early-init.el.") (when minimal-emacs-debug (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 ;; Font compacting can be very resource-intensive, especially when rendering diff --git a/init.el b/init.el index 0455668..e1f8f54 100644 --- a/init.el +++ b/init.el @@ -85,11 +85,6 @@ (setq visible-bell nil) (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 (setq show-paren-delay 0.1