[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GPM in emacs does not work?
From: |
A. Soare |
Subject: |
Re: GPM in emacs does not work? |
Date: |
Sun, 8 Feb 2009 15:15:52 +0100 (CET) |
I need the gpm to work for one patch that I send next week.
Please, can somebody solve this bug of GPM?
>
> A. Soare writes:
> > Emacs does not receive GPM events, even if it is compiled with -lpgm
> (HAVE_GPM = 1), and (gpm-mouse-start) does not return error.
>
> It seems to be due to this change:
>
> 1.974 (monnier 12-Sep-08): if (gpm < 0)
> 1.974 (monnier 12-Sep-08): /* Presumably the GPM daemon has closed
> the connection. */
> 1.974 (monnier 12-Sep-08): close_gpm ();
>
> in tty_read_avail_input of keyboard.c. I don't understand it because the GPM
> manual says about Gpm_GetEvent:
>
> It returns 1 on success, -1 on failure, and 0 after closing the connection.
>
> The ChangeLog entry says:
>
> * keyboard.c (tty_read_avail_input): Forcefully close the gpm
> connection if Gpm_GetEvent fails.
>
> Perhaps Stefan can shed some light.
>
> --
> Nick http://www.inet.net.nz/~nickrob
>
>
____________________________________________________
Ecoutez le dernier single de U2 "Get on your boots" sur
http://musiline.voila.fr !