<table><tr><td style="">bshah created this revision.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />bshah requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27975">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Previously we connected the hasTabletModeSwitchChanged to the<br />
tabletModeAvailableChanged which meant that in startup once libinput<br />
signaled us that we have switch, we would toggle that we now have a<br />
tablet mode.</p>
<p>But, we were connecting this to wrong signal, as a result tablet mode<br />
would become available, but actual tablet switch inputspy was never<br />
getting registered, so tablet mode events were silently ignored.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>tested on Dell Inspiron 7000 laptop where tablet mode switch<br />
is available</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>bshah/fix-tablet-mode</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27975">https://phabricator.kde.org/D27975</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>tabletmodemanager.cpp</div></div></div><br /><div><strong>To: </strong>bshah<br /><strong>Cc: </strong>kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>