uint32_t serial;
int cx, cy, px, py;
- if (e_comp->pointer->o_ptr && (!evas_object_visible_get(e_comp->pointer->o_ptr)))
+ if (e_comp->pointer && e_comp->pointer->o_ptr &&
+ !evas_object_visible_get(e_comp->pointer->o_ptr))
e_pointer_object_set(e_comp->pointer, NULL, 0, 0);
if (!ec) return;
ecore_timer_add(((e_config->xkb.delay_held_key_input_to_focus)/1000.0),
(Ecore_Task_Cb)_e_comp_wl_evas_cb_focus_in_timer, ec);
int rotation = ec->e.state.rot.ang.curr;
- if (e_comp->pointer->rotation != rotation)
- e_pointer_rotation_set(e_comp->pointer, rotation);
+ e_pointer_rotation_set(e_comp->pointer, rotation);
}
static void
if (!focused_ec) return ECORE_CALLBACK_PASS_ON;
rotation = focused_ec->e.state.rot.ang.curr;
- if (e_comp->pointer->rotation != rotation)
- e_pointer_rotation_set(e_comp->pointer, rotation);
+ e_pointer_rotation_set(e_comp->pointer, rotation);
return ECORE_CALLBACK_PASS_ON;
}