From: Po Lu Date: Wed, 6 Apr 2022 00:48:41 +0000 (+0800) Subject: * src/xterm.c (handle_one_xevent): Assert that hold_quit is present instead. X-Git-Tag: emacs-29.0.90~1931^2~754 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2aa588f016239e8fef3aeec97df7285f81b7f80b;p=emacs.git * src/xterm.c (handle_one_xevent): Assert that hold_quit is present instead. --- diff --git a/src/xterm.c b/src/xterm.c index 42ab90df751..37bbd5d7e1c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -13826,8 +13826,9 @@ handle_one_xevent (struct x_display_info *dpyinfo, if (x_dnd_in_progress || x_dnd_waiting_for_finish) { - if (hold_quit) - *hold_quit = inev.ie; + eassert (hold_quit); + + *hold_quit = inev.ie; EVENT_INIT (inev.ie); }