summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2026-01-27 14:25:40 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2026-01-27 14:25:48 +0100
commit1d8cf388c842881fe7603ee621a2b26207cf4fcb (patch)
treead537f5e867348443ca46a6f2d7b6bb326639b9c
parentfbbcdf9578a8fbea4d6956fc3bdf2dcb776b8d8b (diff)
Let bind x-wait-for-event-timeout
-rw-r--r--corfu.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/corfu.el b/corfu.el
index c0f41a9..925f67b 100644
--- a/corfu.el
+++ b/corfu.el
@@ -420,6 +420,7 @@ the initial completion state. PREFIX is the minimum prefix length."
;; Not present on non-gtk/non-x builds
(defvar x-gtk-resize-child-frames)
(defvar x-fast-protocol-requests)
+(defvar x-wait-for-event-timeout)
;; Function adapted from posframe.el by tumashu
(defun corfu--make-frame (frame x y width height)
@@ -432,6 +433,7 @@ FRAME is the existing frame."
(let* ((window-min-height 1)
(window-min-width 1)
(inhibit-redisplay t)
+ (x-wait-for-event-timeout)
(x-fast-protocol-requests t)
(x-gtk-resize-child-frames corfu--gtk-resize-child-frames)
(before-make-frame-hook)