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

This commit is contained in:
Daniel van Vugt 2019-01-06 12:36:56 +00:00 committed by Georges Basile Stavracas Neto
parent 51e4fe7fef
commit 93c29318b2

View File

@ -1511,7 +1511,8 @@ _clutter_stage_do_pick_on_view (ClutterStage *stage,
* are drawn offscreen (as we never swap buffers) * are drawn offscreen (as we never swap buffers)
*/ */
context->pick_mode = mode; 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; context->pick_mode = CLUTTER_PICK_NONE;
/* Read the color of the screen co-ords pixel. RGBA_8888_PRE is used /* Read the color of the screen co-ords pixel. RGBA_8888_PRE is used