cally: Fix translation to screen coordinates

Due to an accidental swap of an else statement and a preprocessor #else,
the output x coordinate is currently only set when not using the X11
windowing system, whoops.

https://bugzilla.gnome.org/show_bug.cgi?id=781902
This commit is contained in:
Florian Müllner 2017-04-28 17:12:40 +02:00
parent 891cab3bb3
commit 0fd9e38175

View File

@ -780,8 +780,8 @@ _cally_actor_get_top_level_origin (ClutterActor *actor,
g_warning ("[x11] We were not able to get proper absolute "
"position of the stage");
}
else
#else
else
{
static gboolean yet_warned = FALSE;