[mutter/gnome-3-24] cally: Fix translation to screen coordinates
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-24] cally: Fix translation to screen coordinates
- Date: Fri, 28 Apr 2017 15:40:41 +0000 (UTC)
commit 79cf22324de16f6d2b80a8e68e93c8763b7ea083
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Apr 28 17:12:40 2017 +0200
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
clutter/clutter/cally/cally-actor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter/cally/cally-actor.c b/clutter/clutter/cally/cally-actor.c
index fe3e274..8ff5b09 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]