Jonas Ådahl b1be1e86e9 screen-cast: Always wait for an update before sending cursor-only frames
With the unthrottled input emission, we ended up often getting the
cursor updates long before any damage had been posted, meaning that if
you moved around the mouse pointer where the mouse had a high enough
refresh rate, we'd effectively stall the screen cast stream by only
sending cursor updates and nothing else.

Fix this by scheduling an update when we get a cursor update, then
sending a cursor-only frame after any damage and relayout has been
processed, but only if there is no queued damage that will cause an
actual repaint.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2393>
2022-04-29 20:51:25 +00:00
..
2018-11-06 17:17:36 +01:00
2014-09-12 11:55:08 -06:00
2022-03-04 10:10:05 +03:00
2019-10-21 14:04:30 +00:00
2019-01-22 18:31:53 +01:00
2019-01-22 18:31:53 +01:00
2022-03-04 10:10:05 +03:00
2021-02-22 13:52:27 +01:00