aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/wayland.xml
diff options
context:
space:
mode:
authorJulian Orth <ju.orth@gmail.com>2022-05-05 14:11:23 +0200
committerSimon Ser <contact@emersion.fr>2023-12-27 18:02:07 +0000
commit6626d4d98c192130681543d59ff5e0e7bac9ab4a (patch)
tree4ff310f40cb72bb29b28cccb248921cefd26e6aa /protocol/wayland.xml
parentbuild: define tests in egl/meson.build when the 'tests' option is enabled (diff)
downloadwayland-6626d4d98c192130681543d59ff5e0e7bac9ab4a.tar
wayland-6626d4d98c192130681543d59ff5e0e7bac9ab4a.tar.gz
wayland-6626d4d98c192130681543d59ff5e0e7bac9ab4a.tar.bz2
wayland-6626d4d98c192130681543d59ff5e0e7bac9ab4a.tar.lz
wayland-6626d4d98c192130681543d59ff5e0e7bac9ab4a.tar.xz
wayland-6626d4d98c192130681543d59ff5e0e7bac9ab4a.tar.zst
wayland-6626d4d98c192130681543d59ff5e0e7bac9ab4a.zip
protocol: wl_subsurface will never be focused
The spec does not describe which actions cause the compositor to assign keyboard focus to a surface, leaving this up to the compositor. Compositors differ in their behavior when the user clicks on a sub-surface. Some will move the keyboard focus to the subsurface whereas others will only ever assign the keyboard focus to toplevel surfaces. Some applications (e.g. firefox) seem to require the second behavior. This patch specifies that sub-surfaces never get the keyboard focus. Signed-off-by: Julian Orth <ju.orth@gmail.com>
Diffstat (limited to 'protocol/wayland.xml')
-rw-r--r--protocol/wayland.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 37a7603..5c2a803 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -3078,6 +3078,8 @@
If the parent wl_surface object is destroyed, the sub-surface is
unmapped.
+
+ A sub-surface never has the keyboard focus of any seat.
</description>
<request name="destroy" type="destructor">