<div dir="ltr">Reviewed-By: Mike Blumenkrantz <<a href="mailto:zmike@osg.samsung.com">zmike@osg.samsung.com</a>><br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 29, 2016 at 12:06 AM Jonas Ådahl <<a href="mailto:jadahl@gmail.com">jadahl@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Make it clearer what the focus semantics are during a popup grab. In<br>
short, when a grabbing popup is mapped, the top most popup will always<br>
have keyboard focus, while pointer and touch focus works just as normal<br>
except that only surfaces from the grabbing client will receive pointer<br>
and touch focus.<br>
<br>
This patch doesn't really change any semantics but rather clarifies<br>
what was ambiguous before.<br>
<br>
Signed-off-by: Jonas Ådahl <<a href="mailto:jadahl@gmail.com" target="_blank">jadahl@gmail.com</a>><br>
---<br>
<br>
Changes since v1:<br>
<br>
- Added back the "This is done so that ..." sentence.<br>
<br>
<br>
unstable/xdg-shell/xdg-shell-unstable-v6.xml | 8 +++++---<br>
1 file changed, 5 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/unstable/xdg-shell/xdg-shell-unstable-v6.xml b/unstable/xdg-shell/xdg-shell-unstable-v6.xml<br>
index 1d59a0e..2c8f636 100644<br>
--- a/unstable/xdg-shell/xdg-shell-unstable-v6.xml<br>
+++ b/unstable/xdg-shell/xdg-shell-unstable-v6.xml<br>
@@ -1012,9 +1012,11 @@<br>
popup will be immediately dismissed. If the parent is a popup that did<br>
not take an explicit grab, an error will be raised.<br>
<br>
- Clients will receive events for all their surfaces during this grab<br>
- (which is an "owner-events" grab in X11 parlance). This is done so that<br>
- users can navigate through submenus and other "nested" popup windows<br>
+ During a popup grab, the client owning the grab will receive pointer<br>
+ and touch events for all their surfaces as normal (similar to an<br>
+ "owner-events" grab in X11 parlance), while the top most grabbing popup<br>
+ will always have keyboard focus. This is done so that users can<br>
+ navigate through submenus and other "nested" popup windows<br>
without having to dismiss the topmost popup.<br>
</description><br>
<br>
--<br>
2.7.4<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</blockquote></div>