emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Final" version of tty child frames


From: Gerd Möllmann
Subject: Re: "Final" version of tty child frames
Date: Sun, 05 Jan 2025 05:03:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Jared Finder <jared@finder.org> writes:

> It was that easy to do.  Attached is a patch that adds support for TTY
> child frames to a GPM mouse.

Thanks!

> diff --git a/src/term.c b/src/term.c
> index 368e20803e1..bbf0bafb93f 100644
> --- a/src/term.c
> +++ b/src/term.c
> @@ -141,6 +141,7 @@ #define OUTPUT1_IF(tty, a) \
>  struct tty_display_info *gpm_tty = NULL;
>  
>  /* Last recorded mouse coordinates.  */
> +static Lisp_Object last_mouse_frame;
>  static int last_mouse_x, last_mouse_y;
>  #endif /* HAVE_GPM */

I think last_mouse_frame needs a staticpro (&last_mouse_frame) in
syms_of_term. Can't say anything else about GPM code, of course :-).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]