From: Sungjin Park Date: Thu, 27 Apr 2023 04:34:19 +0000 (+0900) Subject: e_comp_wl_input: fixed to use client's y position to warp pointer when locked pointer... X-Git-Tag: accepted/tizen/7.0/unified/20230502.051241~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F292073%2F1;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl_input: fixed to use client's y position to warp pointer when locked pointer is destroyed Change-Id: I276348fd94fc7b7a0a892d43a1e9fcd36c2d59dc Signed-off-by: Sungjin Park --- diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 5d1e622172..96f84d4f3b 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -927,7 +927,7 @@ _e_comp_wl_input_cb_locked_pointer_destroy(struct wl_client *client, { E_Client *ec = constraint->ec; int cx = ec->client.x + wl_fixed_to_int(constraint->hint_x); - int cy = ec->client.x + wl_fixed_to_int(constraint->hint_y); + int cy = ec->client.y + wl_fixed_to_int(constraint->hint_y); e_input_device_pointer_warp(NULL, cx, cy); }