summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-04-06 08:48:41 +0800
committerPo Lu <luangruo@yahoo.com>2022-04-06 08:48:41 +0800
commit2aa588f016239e8fef3aeec97df7285f81b7f80b (patch)
tree18578c996b78e700a791c1b997cf0d31621f7371 /src/xterm.c
parent743a95f8139fb30705352d721f17ff3217e460b6 (diff)
downloademacs-2aa588f016239e8fef3aeec97df7285f81b7f80b.tar.gz
emacs-2aa588f016239e8fef3aeec97df7285f81b7f80b.tar.bz2
emacs-2aa588f016239e8fef3aeec97df7285f81b7f80b.zip
* src/xterm.c (handle_one_xevent): Assert that hold_quit is present instead.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 3 insertions, 2 deletions
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);
}