<table><tr><td style="">dos added a comment.
</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/D22459">View Revision</a></tr></table><br /><div><div><p>I've been using nested rootston inside KWin and noticed problems with content refresh when using touchscreen. It worked better with mouse. After debugging, it turned out that:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">rootston doesn't register to wl_touch, so KWin emulates wl_pointer events</li>
<li class="remarkup-list-item">when emulating, KWin sends naked wl_pointer.motion and wl_pointer.button events without sending any wl_pointer.frame with them</li>
</ul>

<p>wl_pointer.frames are sent when using mouse or using touchscreen with a client that listens to wl_touch; they just weren't when emulating wl_pointer out of touch for clients that don't.</p>

<p>See also: <a href="https://github.com/swaywm/wlroots/pull/1754" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/swaywm/wlroots/pull/1754</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22459">https://phabricator.kde.org/D22459</a></div></div><br /><div><strong>To: </strong>dos, KWin<br /><strong>Cc: </strong>romangg, kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns<br /></div>