summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/input/imwayland.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/input/imwayland.c b/modules/input/imwayland.c
index d6161ce0af..9b1257a96c 100644
--- a/modules/input/imwayland.c
+++ b/modules/input/imwayland.c
@@ -578,7 +578,6 @@ released_cb (GtkGestureMultiPress *gesture,
GtkIMContextWayland *context)
{
GtkInputHints hints;
- gboolean result;
if (!global->current)
return;
@@ -592,11 +591,7 @@ released_cb (GtkGestureMultiPress *gesture,
context->press_x,
context->press_y,
x, y))
- {
- zwp_text_input_v3_enable (global->text_input);
- g_signal_emit_by_name (global->current, "retrieve-surrounding", &result);
- commit_state (context);
- }
+ enable (context);
}
static void