aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-02-02 11:13:21 -0500
committerChris Michael <cp.michael@samsung.com>2017-02-07 09:38:33 -0500
commitbb18171c57c130765e7e71c9dbbc226120d2728b (patch)
treef71ba24a4c298a43c1ba27abac28adbdda70947a
parentefl: Add Elput as a dependency for Ecore_Evas_Drm engine (diff)
downloadefl-bb18171c57c130765e7e71c9dbbc226120d2728b.tar.gz
evas: Don't create default seat, pointer, etc for drm
As drm uses Elput to handle input, we don't need to create default seat, pointer, keyboard devices here. Elput will handle creating seat, pointer, keyboard, etc for events. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/evas/canvas/evas_main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c
index 2a75399e97..6958578815 100644
--- a/src/lib/evas/canvas/evas_main.c
+++ b/src/lib/evas/canvas/evas_main.c
@@ -1010,9 +1010,12 @@ evas_output_method_set(Evas *eo_e, int render_method)
if (e->engine.func->info) e->engine.info = e->engine.func->info(eo_e);
// Wayland already handles seats.
- if (em->definition && (eina_streq(em->definition->name, "wayland_shm") ||
- eina_streq(em->definition->name, "wayland_egl")))
- return;
+ if (em->definition &&
+ (eina_streq(em->definition->name, "wayland_shm") ||
+ eina_streq(em->definition->name, "wayland_egl") ||
+ eina_streq(em->definition->name, "drm") ||
+ eina_streq(em->definition->name, "gl_drm")))
+ return;
e->default_seat = evas_device_add_full(eo_e, "default", "The default seat",
NULL, NULL, EVAS_DEVICE_CLASS_SEAT,