Subject: bug#57261: 29.0.50; X protocol error: XI_BadDevice (invalid Device parameter) on protocol request 131

From: Michael Welsh Duggan <[email-masked]>
Date: Wed, 17 Aug 2022 13:02:51 -0400

Bisected to this commit:

commit b4879603fd8f9c8e82e30c5fbb65fa63d8166ee4 (HEAD, refs/bisect/bad)
Author: Po Lu <[email-masked]>
Date:   Tue Aug 16 21:11:03 2022 +0800

    Fix XInput hierarchy events not being delivered in daemon mode
    
    * src/xfns.c (setup_xi_event_mask): Stop selecting for device
    hierarchy events.
    
    * src/xterm.c (xi_select_hierarchy_events, x_term_init): Select
    those here instead, on the default root window.

-- 
Michael Welsh Duggan
([email-masked])