Eli Zaretskii writes: [...] > Did you test the results on a TTY frame that has a mouse? It doesn't even compile --without-x. So here is a new version of this patch. I even remove the comment as suggested by Po.