if (e_seat_pointer_is_empty(NULL)) return;
if (_e_comp_wl_check_cursor_timer_needed(ec))
- {
- if (!_e_comp_wl_cursor_timer_control(EVAS_CALLBACK_MOUSE_WHEEL, comp_wl, ec))
- return;
- }
+ {
+ if (!_e_comp_wl_cursor_timer_control(EVAS_CALLBACK_MOUSE_WHEEL, comp_wl, ec))
+ return;
+ }
if (e_input_backend_mouse_printing_needed())
e_input_backend_mouse_timestamp_append(ev->timestamp);
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_HIDE, _e_comp_wl_evas_cb_hide, ec);
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_MOVE, _e_comp_wl_evas_cb_move, ec);
-
evas_object_event_callback_priority_add(ec->frame, EVAS_CALLBACK_MOUSE_IN, EVAS_CALLBACK_PRIORITY_AFTER, _e_comp_wl_evas_cb_mouse_in, ec);
evas_object_event_callback_priority_add(ec->frame, EVAS_CALLBACK_MOUSE_OUT, EVAS_CALLBACK_PRIORITY_AFTER, _e_comp_wl_evas_cb_mouse_out, ec);
if (!e_input_use_ecore_event_get())
E_FREE(kbd_focus_client);
}
-
static void
_e_comp_wl_focus_client_cb_client_destroy(struct wl_listener *listener, void *data)
{
if (e_seat_pointer_is_empty(NULL)) goto end;
if (_e_comp_wl_check_cursor_timer_needed(ec))
- {
- if (!_e_comp_wl_cursor_timer_control(EVAS_CALLBACK_MOUSE_WHEEL, comp_wl, ec))
- goto end;
- }
+ {
+ if (!_e_comp_wl_cursor_timer_control(EVAS_CALLBACK_MOUSE_WHEEL, comp_wl, ec))
+ goto end;
+ }
if (e_input_backend_mouse_printing_needed())
e_input_backend_mouse_timestamp_append(ev->timestamp);
ELOGF("COMP", " |%s", NULL, pname);
}
-
static void
_e_comp_wl_connected_client_cb_destroy(struct wl_listener *listener, void *data)
{