<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [regression] Middle-click emulation broken"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103567">103567</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[regression] Middle-click emulation broken
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>spidermario@free.fr
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

I have middle-click emulation enabled in Cinnamon (although `sudo libinput
list-devices` says that it is not; is it because it doesn’t show per-user
settings or does Cinnamon use some other mechanism?).

It used to work perfectly, but I recently upgraded libinput from 1.8.3 and
1.9.1, and since then, it often gets “stuck”, meaning that subsequent left
clicks will be considered middle clicks until I right click again to “unstick”
it (or occasionally the other way around, possibly depending on which button I
happen to hit first when emulating the middle click).

After downgrading to 1.8.3 again and rebooting, the issue goes away completely.

I had a look through the recent messages on the mailing list and it looks like
this patch could be the culprit, but I am far from being 100% sure:
<a href="https://lists.freedesktop.org/archives/wayland-devel/2017-October/035551.html">https://lists.freedesktop.org/archives/wayland-devel/2017-October/035551.html</a>

Thanks.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>