summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2017-04-28 17:12:40 +0200
committerFlorian Müllner <fmuellner@gnome.org>2017-04-28 17:40:06 +0200
commit79cf22324de16f6d2b80a8e68e93c8763b7ea083 (patch)
treecc375a9e7ee976e85827932de325bd295a01655f
parentebfba766d16f2fa2ae7bb252ab135a1bf5fe79f7 (diff)
downloadmutter-79cf22324de16f6d2b80a8e68e93c8763b7ea083.tar.gz
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
-rw-r--r--clutter/clutter/cally/cally-actor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter/cally/cally-actor.c b/clutter/clutter/cally/cally-actor.c
index fe3e27433..8ff5b09e1 100644
--- a/clutter/clutter/cally/cally-actor.c
+++ b/clutter/clutter/cally/cally-actor.c
@@ -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;