mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
Try again at using the GDK backend by default
We tried once with commit 398a7ac7
and ended up reverting because of
regressions in the input layer and on Wayland.
We should try again, now that those regressions have been fixed.
https://bugzilla.gnome.org/show_bug.cgi?id=734587
This commit is contained in:
parent
7b9068b976
commit
60dbeb9425
@ -491,6 +491,11 @@ _clutter_create_backend (void)
|
||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_WIN32, NULL);
|
||||
else
|
||||
#endif
|
||||
#ifdef CLUTTER_WINDOWING_GDK
|
||||
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_GDK))
|
||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_GDK, NULL);
|
||||
else
|
||||
#endif
|
||||
#ifdef CLUTTER_WINDOWING_X11
|
||||
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_X11))
|
||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_X11, NULL);
|
||||
@ -505,11 +510,6 @@ _clutter_create_backend (void)
|
||||
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_EGL))
|
||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_EGL_NATIVE, NULL);
|
||||
else
|
||||
#endif
|
||||
#ifdef CLUTTER_WINDOWING_GDK
|
||||
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_GDK))
|
||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_GDK, NULL);
|
||||
else
|
||||
#endif
|
||||
if (backend == NULL)
|
||||
g_error ("No default Clutter backend found.");
|
||||
|
Loading…
Reference in New Issue
Block a user