mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
[stage] Chain up to the correct vfunc when picking
The stage is chaining up to the ClutterGroup::paint instead of the ClutterGroup::pick method. This works anyway because we detect the stage by default, but it's not a reliable solution in case we decide to change the picking further on.
This commit is contained in:
parent
533c9c5365
commit
9f3927c460
@ -266,7 +266,7 @@ clutter_stage_pick (ClutterActor *self,
|
||||
* Chain up to the groups paint howerer so our children get picked
|
||||
* - clutter_group_pick
|
||||
*/
|
||||
CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint (self);
|
||||
CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->pick (self, color);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -358,7 +358,6 @@ redraw_update_idle (gpointer user_data)
|
||||
ClutterStage *stage = user_data;
|
||||
ClutterStagePrivate *priv = stage->priv;
|
||||
ClutterMasterClock *master_clock;
|
||||
gboolean retval = FALSE;
|
||||
|
||||
/* before we redraw we advance the master clock of one tick; this means
|
||||
* that all the timelines that need advancing will be advanced by one
|
||||
|
Loading…
Reference in New Issue
Block a user