<div dir="ltr"><div>Hi Jan,</div><div>I suggest you open an issue at <a href="http://gitlab.xfce.org/xfce/xfwm4">gitlab.xfce.org/xfce/xfwm4</a> if you haven't done yet.</div><div><br></div><div>Cheers,</div><div>Andre Miranda<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 18, 2020 at 10:36 AM Jan Engelhardt <<a href="mailto:jengelh@inai.de">jengelh@inai.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Greetings.<br>
<br>
<br>
I have here a Fujitsu U728 laptop, which has the following xinput <br>
pointy devices:<br>
<br>
⎡ Virtual core pointer id=2 [master pointer (3)]<br>
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]<br>
⎜ ↳ ELAN0D01:00 04F3:3092 Touchpad id=16 [slave pointer (2)]<br>
⎜ ↳ Dell Dell Wired Multimedia Keyboard Mouse id=11 [slave pointer (2)]<br>
⎜ ↳ USB Optical Mouse id=13 [slave pointer (2)]<br>
⎜ ↳ ETPS/2 Elantech Touchpad id=18 [slave pointer (2)]<br>
⎜ ↳ ELAN0D01:00 04F3:3092 Mouse id=15 [slave pointer (2)]<br>
<br>
Mouse handling has regressed for me since xfwm4 switched to xinput2 in<br>
commit 6013f1ee9b3831991db6a0fb896f20537532b6ce.<br>
After changing from 68b6854 to 6013f1, I notice a problem:<br>
<br>
- When a number of scroll events have been issued through either<br>
touchpad or USB mouse,<br>
- applications such as firefox, inkscape, leafpad,<br>
- but _not_ xterm, xev, xfce4-terminal(-0.8.9.2), or gtk3-demo,<br>
<br>
something in xfwm "dies" and<br>
<br>
- mouse events (click, scroll) get weirdly "buffered",<br>
- mouse movement on screen is possible,<br>
- but application receives no practical events, i.e. mouse cursor<br>
does not change when changing between plaintext and hyperlinks in<br>
firefox / buttons below mouse cursor no longer change color from/to<br>
their button highlight.<br>
<br>
Then, when an interrupt happens, such as,<br>
<br>
- a keyboard key is pressed<br>
- any USB or DP/HDMI cable is (dis)connected<br>
- analog audio cable is (dis)connected (there's support for Presence Detect),<br>
<br>
the most recent 5-or-so events so buffered get delivered.<br>
<br>
What I notice is that the U728 touchpad is represented as three<br>
different xinput devices (15,16,18). For comparison, on a Lenovo X240<br>
with a similar modern version of xfwm (that uses xinput2), there is<br>
no issue observable, but the Lenovo touchpad is only present as one<br>
xinput device. Not sure if that has anything to do with it...<br>
_______________________________________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a></blockquote></div>