mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
backend: Do not use CLUTTER_WINDOWING_EGL unconditionally
https://bugzilla.gnome.org/show_bug.cgi?id=708079
This commit is contained in:
parent
9b5b432533
commit
08ddd02bb2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user