[libchamplain: 35/45] Ensure sample_user_layer_at_pos returns a reactive user_layers child.
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain: 35/45] Ensure sample_user_layer_at_pos returns a reactive user_layers child.
- Date: Sun, 14 Aug 2016 12:31:15 +0000 (UTC)
commit 24f4dc97396f3c4d2ba7bcf8f1750419c1766b58
Author: Marius Stanciu <stanciumarius94 gmail com>
Date: Sun Aug 7 20:21:23 2016 +0300
Ensure sample_user_layer_at_pos returns a reactive user_layers child.
champlain/champlain-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 2fd4688..9ce7c4a 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -1703,7 +1703,7 @@ sample_user_layer_at_pos (ChamplainView *view,
CLUTTER_PICK_REACTIVE, x, y);
/* If no reactive actor is found on top of the clone, return NULL */
- if (retval == priv->viewport || retval == priv->kinetic_scroll)
+ if (!clutter_actor_contains (priv->user_layers, retval))
return NULL;
return retval;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]