aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_mouse.c
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2015-01-23 13:44:43 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2015-01-23 13:44:43 +0100
commit56de1002ecb456a7c974885a2c1c0179bbccbe5a (patch)
tree796ea4b30fa40e6c3a7ee282fafc36a9556ef9bf /src/bin/e_mouse.c
parente_module: de-e_comp_get()ify (diff)
downloadenlightenment-56de1002ecb456a7c974885a2c1c0179bbccbe5a.tar.gz
e_mouse: de-e_comp_get()ify
Diffstat (limited to 'src/bin/e_mouse.c')
-rw-r--r--src/bin/e_mouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_mouse.c b/src/bin/e_mouse.c
index 2990c243a..7cae8ecc3 100644
--- a/src/bin/e_mouse.c
+++ b/src/bin/e_mouse.c
@@ -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