[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57261: 29.0.50; X protocol error: XI_BadDevice (invalid Device param
From: |
Jean Louis |
Subject: |
bug#57261: 29.0.50; X protocol error: XI_BadDevice (invalid Device parameter) on protocol request 131 |
Date: |
Wed, 17 Aug 2022 18:28:43 +0300 |
User-agent: |
Mutt/+ () (2022-06-11) |
* Robert Pluim <rpluim@gmail.com> [2022-08-17 17:43]:
> >>>>> On Wed, 17 Aug 2022 17:31:47 +0300, Jean Louis <bugs@gnu.support> said:
>
> Jean> I could not start X version of Emacs at all.
> Jean> I am on latest git version.
>
> Jean> What worked is `emacs -nw --bg-daemon':
>
> Jean> but Emacs is not starting on X now.
>
> Does this help:
>
> diff --git a/src/xterm.c b/src/xterm.c
> index a40440e0da..a329ca59d0 100644
> --- a/src/xterm.c
> +++ b/src/xterm.c
> @@ -27654,6 +27654,8 @@ xi_select_hierarchy_events (struct x_display_info
> *dpyinfo)
> memset (m, 0, l);
> mask.mask_len = l;
>
> + mask.deviceid = XIAllDevices;
> +
> XISetMask (m, XI_PropertyEvent);
> XISetMask (m, XI_HierarchyChanged);
> XISetMask (m, XI_DeviceChanged);
I have tried that, and now I can get `emacs -Q' to work again under X.
I hope this will be repaired.
And it's good that I did not lose sense how to work in console. Pity
that SUPER key does not work in XTerm.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/