Skip to content

xwayland: Do not queue frame callbacks unconditionally

Robert Mader requested to merge rmader/mutter:xwayland-framecallbacks into master

The removed comment is not longer true: XWayland schedules its VSYNC from frame callbacks nowadays. Only sending callbacks when the surface actor is unobscured makes XWayland throttle its VSYNC to 1/sec, reducing repaints in many cases.

Follow up of !918 (merged)

Note: While this is not expected to regress XWayland client behaviour, if it does we should fix that in XWayland. Wayland compositors should not be expected to send frame callbacks if not appropriate.


How to test:

Expected result:

  • frames should drop to 1/sec
Edited by Robert Mader

Merge request reports