That's exactly the case:
Breakpoint 2, clutter_check_windowing_backend (backend_type=0xb6faa180 "x11") at ./clutter-main.c:3673 3673 { (gdb) n 3674 ClutterMainContext *context = _clutter_context_get_default (); (gdb) n 3676 g_return_val_if_fail (backend_type != NULL, FALSE); (gdb) p context $1 = (ClutterMainContext *) 0x19a20 (gdb) n 3678 backend_type = g_intern_string (backend_type); (gdb) 3699 if (backend_type == I_(CLUTTER_WINDOWING_EGL) && (gdb) 3711 if (backend_type == I_(CLUTTER_WINDOWING_X11) && (gdb) p _clutter_backend_egl_native_get_type() $2 = 105256 (gdb) p context->backend->parent_instance->g_type_instance->g_class->g_type $3 = 105256
Now need to understand why the context type is EGL instead of X11.
That's exactly the case:
Breakpoint 2, clutter_ check_windowing _backend (backend_ type=0xb6faa180 "x11") at ./clutter- main.c: 3673 context_ get_default (); val_if_ fail (backend_type != NULL, FALSE); WINDOWING_ EGL) && WINDOWING_ X11) && backend_ egl_native_ get_type( ) >backend- >parent_ instance- >g_type_ instance- >g_class- >g_type
3673 {
(gdb) n
3674 ClutterMainContext *context = _clutter_
(gdb) n
3676 g_return_
(gdb) p context
$1 = (ClutterMainContext *) 0x19a20
(gdb) n
3678 backend_type = g_intern_string (backend_type);
(gdb)
3699 if (backend_type == I_(CLUTTER_
(gdb)
3711 if (backend_type == I_(CLUTTER_
(gdb) p _clutter_
$2 = 105256
(gdb) p context-
$3 = 105256
Now need to understand why the context type is EGL instead of X11.