Don't create the Cogl GLib source multiple times
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 29 Jun 2016 21:03:46 +0000 (17:03 -0400)
committerMichael Biebl <biebl@debian.org>
Sun, 12 Mar 2017 08:23:59 +0000 (08:23 +0000)
commit66d8c83a49957e3cd1cfbdc6f2992dd7557106cd
tree731ff0cd7a12d6c5fc52f91a87fdc225b2f80e69
parentf1afd2244a52c0eff237b806b5d826944751d15f
Don't create the Cogl GLib source multiple times

Since the check for backend->cogl_context was accidentally moved
to clutter_backend_do_real_create_context, the Glib source that
is created at the end of clutter_backend_do_create_context() is
created and added each time create_context() is called, though
create_context() is supposed to be idempotent.

https://bugzilla.gnome.org/show_bug.cgi?id=768243

Gbp-Pq: Name Don-t-create-the-Cogl-GLib-source-multiple-times.patch
clutter/clutter-backend.c