Comment 4 for bug 960893

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

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.