<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:jadahl@gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Document how serial should work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83488">bug 83488</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jadahl@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Document how serial should work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83488#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Document how serial should work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83488">bug 83488</a>
from <span class="vcard"><a class="email" href="mailto:jadahl@gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>This came up on IRC recently, so writing down some points.
Currently there are various assumptions on what serials are that are used here
and there, most notably in xdg_shell.
This assumption is that for a wl_seat, all the serials for all the input
devices classes are not disjoint, i.e. they use the same serial counter thus
there will never be a "touch" serial that is the same as either a "keyboard" or
a "pointer" serial.
This is used to determine whether a grab request (e.g. popup grab, show window
menu, move, resize) should be ignored or not, or there was some other
interaction event that should cancel it. For example, it should be possible for
a compositor to not show a user touched somewhere after a popup triggering
click happened but before the compositor saw the popup request. This is
possible if the serials are not disjoint.
This could be seen as relying on an implementation detail, and it kind of is,
but I believe we should codify this in the protocol, which right now does not
specify this at all.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>