st: Use clutter_actor_pick() in pick
Use the new function to perform picking and avoid going through any painting-related code paths. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/773
This commit is contained in:
@ -302,11 +302,11 @@ st_scroll_view_pick (ClutterActor *actor)
|
||||
CLUTTER_ACTOR_CLASS (st_scroll_view_parent_class)->pick (actor);
|
||||
|
||||
if (priv->child)
|
||||
clutter_actor_paint (priv->child);
|
||||
clutter_actor_pick (priv->child);
|
||||
if (priv->hscrollbar_visible)
|
||||
clutter_actor_paint (priv->hscroll);
|
||||
clutter_actor_pick (priv->hscroll);
|
||||
if (priv->vscrollbar_visible)
|
||||
clutter_actor_paint (priv->vscroll);
|
||||
clutter_actor_pick (priv->vscroll);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Reference in New Issue
Block a user