summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland-text-input-legacy.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-02-17 11:25:14 +0100
committerRobert Mader <robert.mader@posteo.de>2020-08-31 08:40:12 +0000
commitfb6ff75a9775995656394bc0652f35d4e836aafd (patch)
treeddb5f19b9b260bae5f8b1e258002c63bf359bf87 /src/wayland/meta-wayland-text-input-legacy.c
parentd3b845902ee15c7cb8cedaf89638a07b0b139297 (diff)
downloadmutter-fb6ff75a9775995656394bc0652f35d4e836aafd.tar.gz
clutter: Prepare input focus for IM event delivery
The clutter_input_focus_filter_key_event() function has been made a more generic filter_event(). Besides its old role about letting key events go through the IM, it will also process the IM events that are possibly injected as a result. Users have been updated to these changes. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1286
Diffstat (limited to 'src/wayland/meta-wayland-text-input-legacy.c')
-rw-r--r--src/wayland/meta-wayland-text-input-legacy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wayland/meta-wayland-text-input-legacy.c b/src/wayland/meta-wayland-text-input-legacy.c
index d8f7d1d82..442708e0f 100644
--- a/src/wayland/meta-wayland-text-input-legacy.c
+++ b/src/wayland/meta-wayland-text-input-legacy.c
@@ -629,6 +629,5 @@ meta_wayland_gtk_text_input_handle_event (MetaWaylandGtkTextInput *text_input,
!clutter_input_focus_is_focused (text_input->input_focus))
return FALSE;
- return clutter_input_focus_filter_key_event (text_input->input_focus,
- (const ClutterKeyEvent *) event);
+ return clutter_input_focus_filter_event (text_input->input_focus, event);
}