From 08ddd02bb239c1d79eff98cf77f4b237084aa1b3 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 15 Sep 2013 10:28:58 +0100 Subject: [PATCH] backend: Do not use CLUTTER_WINDOWING_EGL unconditionally https://bugzilla.gnome.org/show_bug.cgi?id=708079 --- clutter/clutter-backend.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-backend.c b/clutter/clutter-backend.c index 2b6c42986..be0c65f1b 100644 --- a/clutter/clutter-backend.c +++ b/clutter/clutter-backend.c @@ -562,8 +562,12 @@ clutter_backend_real_init_events (ClutterBackend *backend) #endif #ifdef CLUTTER_INPUT_EVDEV /* Evdev can be used regardless of the windowing system */ - if ((input_backend != NULL && strcmp (input_backend, CLUTTER_INPUT_EVDEV) == 0) || - clutter_check_windowing_backend (CLUTTER_WINDOWING_EGL)) + if ((input_backend != NULL && strcmp (input_backend, CLUTTER_INPUT_EVDEV) == 0) +#ifdef CLUTTER_WINDOWING_EGL + /* but we do want to always use it for EGL native */ + || clutter_check_windowing_backend (CLUTTER_WINDOWING_EGL) +#endif + ) { _clutter_events_evdev_init (backend); }