Skip to content
  • Jonas Dreßler's avatar
    st/widget: Invalidate paint volume on style changes · 62e40a13
    Jonas Dreßler authored and Marge Bot's avatar Marge Bot committed
    StWidget is overriding ClutterActors get_paint_volume() vfunc to adjust
    for overpaint of things like box shadows that get set in CSS, it does
    that by setting the paint volume to the theme nodes paint box.
    
    Since StWidget can't really get notified when the paint box changes, we
    just invalidate the paint volume when the theme nodes paint_equal()
    returns FALSE.
    
    Part-of: <GNOME/gnome-shell!1484>
    62e40a13