e_mouse: de-e_comp_get()ify

This commit is contained in:
Stefan Schmidt 2015-01-23 13:44:43 +01:00
parent c66b402322
commit 56de1002ec
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ e_mouse_update(void)
int n;
#ifndef HAVE_WAYLAND_ONLY
if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
{
if (!ecore_x_pointer_control_set(e_config->mouse_accel_numerator,
e_config->mouse_accel_denominator,
@ -41,7 +41,7 @@ e_mouse_update(void)
}
#ifndef HAVE_WAYLAND_ONLY
if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
if (!ecore_x_pointer_mapping_set(map, n)) return 0;
#endif