GNOME Bugzilla – Bug 746575
cally-actor: Don't assume X11 backend is used when supported
Last modified: 2015-03-23 11:37:58 UTC
See patch, and https://bugzilla.redhat.com/show_bug.cgi?id=1203562 for a downstream report.
Created attachment 300029 [details] [review] cally-actor: Don't assume X11 backend is used when supported _cally_actor_get_top_level_origin() uses a compile time check without runtime check, which will obviously fail when another backend like wayland is used.
Review of attachment 300029 [details] [review]: ::: clutter/cally/cally-actor.c @@ +755,3 @@ gint y = 0; #ifdef HAVE_CLUTTER_GLX This should really be #ifdef CLUTTER_WINDOWING_X11 We haven't used HAVE_CLUTTER_GLX in a long time, even if we're still defining it. @@ +780,3 @@ + g_warning ("[x11] We were not able to get proper absolute " + "position of the stage"); + /* FIXME: what happens if you use another display with This is missing an else, otherwise on X11 you'll warn twice.
Created attachment 300054 [details] [review] cally-actor: Don't assume X11 backend is used when supported _cally_actor_get_top_level_origin() uses a compile time check without runtime check, which will obviously fail when another backend like wayland is used.
Pushed to master, it's in the 1.22.0 release. Thanks!