]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (handle_one_xevent): Assert that hold_quit is present instead.
authorPo Lu <luangruo@yahoo.com>
Wed, 6 Apr 2022 00:48:41 +0000 (08:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 6 Apr 2022 00:48:41 +0000 (08:48 +0800)
src/xterm.c

index 42ab90df751c939c1e72dac903688300142f0483..37bbd5d7e1c3360ed9d1cb9462068e3e40ca02d6 100644 (file)
@@ -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);
          }