From 443b285949bf6fd42918b196e863ed32a8fe0319 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 10 Jul 2023 15:15:48 +0900 Subject: [PATCH] Add missing surface lock Change-Id: I837807ae310ed08bf3fb6d14339e595389d3d365 Signed-off-by: Jihoon Kim --- src/e_mod_input_panel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/e_mod_input_panel.c b/src/e_mod_input_panel.c index fc7b586..59a65d9 100644 --- a/src/e_mod_input_panel.c +++ b/src/e_mod_input_panel.c @@ -1036,7 +1036,10 @@ _e_input_panel_cb_surface_get(struct wl_client *client, struct wl_resource *reso evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_MOUSE_DOWN, _e_ips_cb_mouse_down, ec); evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_MOUSE_MOVE, _e_ips_cb_mouse_move, ec); + g_mutex_lock(&cdata->surface_mutex); cdata->surface = surface_resource; + g_mutex_unlock(&cdata->surface_mutex); + cdata->shell.configure_send = NULL; cdata->shell.configure = _e_input_panel_surface_configure; cdata->shell.ping = NULL; -- 2.7.4