<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - SW_TABLET_MODE disables monitor bezel button in tablet mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103749#c25">Comment # 25</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - SW_TABLET_MODE disables monitor bezel button in tablet mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103749">bug 103749</a>
              from <span class="vcard"><a class="email" href="mailto:davide@depau.eu" title="Davide Depau <davide@depau.eu>"> <span class="fn">Davide Depau</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=138226" name="attach_138226" title="0001-evdev-don-t-suspend-keyboard-on-the-X1-Yoga-1st-DEPAU.patch">attachment 138226</a> <a href="attachment.cgi?id=138226&action=edit" title="0001-evdev-don-t-suspend-keyboard-on-the-X1-Yoga-1st-DEPAU.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=103749&attachment=138226'>[review]</a>
0001-evdev-don-t-suspend-keyboard-on-the-X1-Yoga-1st-DEPAU.patch

I tried to check the code and came up with this patch, which fixes this issue.
For some reason, the touchpad not disabled issue seems fixed too. I really hope
somebody fixed it upstream while I was working on this, otherwise I would have
no idea on why it works.

I didn't spend too much time figuring out how libinput really works and how the
functions I changed are called, so I might have fixed it in the wrong place.

Let me know what you think.</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>