forked from enlightenment/efl
ecore-wl2: only update pointer frame if there is a pointer surface
fix T4777, T4776
This commit is contained in:
parent
4655f90aaf
commit
1cdeff1c42
|
@ -1227,7 +1227,7 @@ _ecore_wl2_input_cursor_update(void *data)
|
||||||
input->cursor.surface,
|
input->cursor.surface,
|
||||||
input->cursor.hot_x, input->cursor.hot_y);
|
input->cursor.hot_x, input->cursor.hot_y);
|
||||||
|
|
||||||
if (!input->cursor.frame_cb)
|
if (input->cursor.surface && (!input->cursor.frame_cb))
|
||||||
_pointer_cb_frame(input, NULL, 0);
|
_pointer_cb_frame(input, NULL, 0);
|
||||||
|
|
||||||
return ECORE_CALLBACK_RENEW;
|
return ECORE_CALLBACK_RENEW;
|
||||||
|
|
Loading…
Reference in New Issue