Mark the cursor as rendered after performing compositing

Merged Vlad Zahorodnii requested to merge work/cursor-mark-as-rendered into master

If a cursor animation is driven purely by frame callbacks and kwin uses hardware cursors, the cpu usage may spike to 100%.

This change addresses that issue by sending frame callbacks after a compositing cycle has been performed.

Merge request reports