ecore_wl2: initialize x,y position to 0 00/310700/1
authorduna.oh <duna.oh@samsung.com>
Tue, 7 May 2024 04:37:41 +0000 (13:37 +0900)
committerduna.oh <duna.oh@samsung.com>
Tue, 7 May 2024 04:37:44 +0000 (13:37 +0900)
The testcase 'tc_ecore_evas_pointer_xy_get_p' failed because
'ecore_wl2_input_pointer_xy_get' retrieved values of -1 and -1,
which are not valid coordinate.

Change-Id: Ib0496da29881c39bb7541fc4d96a517b2a09a339

src/lib/ecore_wl2/ecore_wl2_input.c

index c92e1c1..7db548c 100644 (file)
@@ -2583,8 +2583,8 @@ _ecore_wl2_input_add(Ecore_Wl2_Display *display, unsigned int id, unsigned int v
    input->repeat.changed = EINA_FALSE;
 
 //TIZEN_ONLY(20240429): send mouse move event when client resized
-   input->pointer.sx = -1;
-   input->pointer.sy = -1;
+   input->pointer.sx = 0;
+   input->pointer.sy = 0;
 //
 
    wl_array_init(&input->data.selection.types);