<table><tr><td style="">graesslin created this revision.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: kwin, plasma-devel.
</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/D5252" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The new touch gestures activated for the same actions as configured for<br />
mouse pointer actions. This has disadvantages as the only configured<br />
default screen edge action cannot be triggered (corner) on touch. On the<br />
other hand setting a default touch gesture would be rather annoying with<br />
pointer as a default.</p>

<p>So overall it makes sense to split the actions and have dedicated pointer<br />
and dedicated touch actions.</p>

<p>This change introduces the first part of it and splits the handling in<br />
general. We now have:</p>

<p>Activates for pointer and touch:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">client (auto-hiding panels)</li>
</ul>

<p>Activates for pointer only:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">the configured action</li>
<li class="remarkup-list-item">virtual desktop switching</li>
<li class="remarkup-list-item">callbacks</li>
</ul>

<p>Activates for touch only:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">the new touch action</li>
</ul>

<p>The touch actions are implemented similar to the pointer actions which<br />
slight improvements in the code which will be backported to the pointer<br />
actions.</p>

<p>Introducing callbacks will be the next step. I plan to do it a little bit<br />
different by using QActions as that's what KWin internally uses for<br />
everything except screen edges.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Manual testing and improved auto tests</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>actions-touch-actions</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5252" rel="noreferrer">https://phabricator.kde.org/D5252</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/test_screen_edges.cpp<br />
screenedge.cpp<br />
screenedge.h</div></div></div><br /><div><strong>To: </strong>graesslin, KWin, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol<br /></div>