surface-actor-wayland: Do not send frame callbacks if the actor is obscured
`meta_surface_actor_is_obscured` implies that the actor got successfully culled
out and nothing of it will get painted. This includes that there are no clones,
no effects etc. In this cases we don't want to send frame callbacks, thus avoiding
unnecessary client work.
Closes #892 (closed)
How to test:
- open
gnome-terminal
- run
weston-simple-damage --verbose
- hide the demo app behind the terminal
Expected result:
- Output in the terminal should stop
Edited by Robert Mader