mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Revert "backend: try gdk backend before x11/wayland/egl"
This reverts commit 398a7ac713
.
We cannot really use the GDK backend without massive regressions inside
the input layer, like touch events and gestures. The GDK backend is not
entirely up to scratch, and it's late in the cycle.
Let's land this early in 3.15, and get it up to par with X11.
This commit is contained in:
parent
f12c174d72
commit
be8602fbb4
@ -491,11 +491,6 @@ _clutter_create_backend (void)
|
|||||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_WIN32, NULL);
|
retval = g_object_new (CLUTTER_TYPE_BACKEND_WIN32, NULL);
|
||||||
else
|
else
|
||||||
#endif
|
#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
|
#ifdef CLUTTER_WINDOWING_X11
|
||||||
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_X11))
|
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_X11))
|
||||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_X11, NULL);
|
retval = g_object_new (CLUTTER_TYPE_BACKEND_X11, NULL);
|
||||||
@ -510,6 +505,11 @@ _clutter_create_backend (void)
|
|||||||
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_EGL))
|
if (backend == NULL || backend == I_(CLUTTER_WINDOWING_EGL))
|
||||||
retval = g_object_new (CLUTTER_TYPE_BACKEND_EGL_NATIVE, NULL);
|
retval = g_object_new (CLUTTER_TYPE_BACKEND_EGL_NATIVE, NULL);
|
||||||
else
|
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
|
#endif
|
||||||
if (backend == NULL)
|
if (backend == NULL)
|
||||||
g_error ("No default Clutter backend found.");
|
g_error ("No default Clutter backend found.");
|
||||||
|
Loading…
Reference in New Issue
Block a user