Send angle information of parent window on show request 88/247288/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 28 Apr 2020 12:33:26 +0000 (21:33 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 9 Nov 2020 03:05:18 +0000 (12:05 +0900)
Change-Id: I69592db57893e86564a65a26400d3d2ad5f87e0a

src/e_mod_main.c

index a9cd37d..7cf7052 100644 (file)
@@ -1518,7 +1518,9 @@ _e_text_input_cb_input_panel_show(struct wl_client *client, struct wl_resource *
              LOGI("IM::SHOW::WAIT_FOR_READY\n");
 
              g_show_client = client;
-             wl_input_method_send_show_input_panel(input_method->resource, input_method->context->resource);
+             int angle = 0;
+             if (client_surface_ec) angle = client_surface_ec->e.state.rot.ang.curr;
+             wl_input_method_send_show_input_panel(input_method->resource, input_method->context->resource, angle);
 
              /* we need to force update in order to release buffer
               * if we do not, client can't update