ecore/wayland: Don't reset cursor theme on every mouse move.
authorRafael Antognolli <antognolli@gmail.com>
Wed, 7 Nov 2012 16:11:20 +0000 (16:11 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Wed, 7 Nov 2012 16:11:20 +0000 (16:11 +0000)
The cursor theme just needs to be updated on mouse in/out events.
Otherwise, if it is explicitly hidden by something else, it will become
visible again after another mouse move event.

SVN revision: 78970

legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c

index 0fc4e0dfb647a86325e4f8d6e8c78660ef0ff336..b90e5e35bef6856ad6f45558b19977d63d66546f 100644 (file)
@@ -379,8 +379,6 @@ _ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer __UNUSE
 
    if (input->pointer_focus)
      _ecore_wl_input_mouse_move_send(input, input->pointer_focus, timestamp);
-
-   ecore_wl_input_cursor_from_name_set(input, input->cursor_name);
 }
 
 static void