]> git.eshelyaron.com Git - emacs.git/commit
Allow xt-mouse-tests to run
authorGerd Möllmann <gerd@gnu.org>
Fri, 20 Dec 2024 06:03:59 +0000 (07:03 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:17:36 +0000 (16:17 +0100)
commit008953b774015eb0033c2f1889b3b3dde0e0c294
treead45cf0417010eebe1907977ae1cdd3d75351d06
parente25ea314bcfe7cfee34731b69034783fd9d24c28
Allow xt-mouse-tests to run

This is basically a workaround for running a test in batch mode
which should have a tty frame available but doesn't.

* src/frame.c (check_tty): Relax check if noninteractive.
* lisp/xt-mouse.el (xterm-mouse-event): Don't use frame-at if
noninteractive.

(cherry picked from commit 82c3fcd17e3eb3756bd3533c39d89c21ec7fdce5)
lisp/xt-mouse.el
src/frame.c