[mutter] clutter-stage: Don't emit "after-paint" when picking



commit 93c29318b2994cb23cc88e0c63d923bb0bc92dc8
Author: Daniel van Vugt <daniel van vugt canonical com>
Date:   Sun Jan 6 12:36:56 2019 +0000

    clutter-stage: Don't emit "after-paint" when picking

 clutter/clutter/clutter-stage.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index e4f692456..dcadeb24f 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -1511,7 +1511,8 @@ _clutter_stage_do_pick_on_view (ClutterStage     *stage,
    * are drawn offscreen (as we never swap buffers)
   */
   context->pick_mode = mode;
-  _clutter_stage_paint_view (stage, view, NULL);
+
+  clutter_stage_do_paint_view (stage, view, NULL);
   context->pick_mode = CLUTTER_PICK_NONE;
 
   /* Read the color of the screen co-ords pixel. RGBA_8888_PRE is used


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]