From 1cbb0d25df76343e52e3c74d3d0d167404cb4681 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 18 Jul 2024 13:39:59 +0200 Subject: [PATCH] text-input: Add show/hide_input_panel requests These requests allow clients to explicitly declare the desired interaction pattern with input panels (e.g. the system OSK). This allows clients to decide a fine grained pattern to show/hide these panels that is decouple of enable/disable requests. This may help them enhance the experience with e.g. selecting text, or navigating around large bodies of text without an intrusive OSK, or implementing other UI patterns like a "show OSK" button. Signed-off-by: Carlos Garnacho --- .../text-input/text-input-unstable-v3.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/unstable/text-input/text-input-unstable-v3.xml b/unstable/text-input/text-input-unstable-v3.xml index dc0d233..c671793 100644 --- a/unstable/text-input/text-input-unstable-v3.xml +++ b/unstable/text-input/text-input-unstable-v3.xml @@ -514,6 +514,26 @@ + + + + Requests an input panel to be shown (e.g. a on-screen keyboard). + + This request only hints the desired interaction pattern from the + client side, and its effect may be ignored by compositors given + other environmental factors. Repeated calls will be ignored. + + + + + + Requests an input panel to be hidden. + + This request only hints the desired interaction pattern from the + client side, and its effect may be ignored by compositors given + other environmental factors. Repeated calls will be ignored. + +