Skip to content
  • Owen W. Taylor's avatar
    Use _NET_WM_FRAME_DRAWN to synchronize frame drawing · 8a6895fe
    Owen W. Taylor authored
    As part of the extended _NET_WM_SYNC_REQUEST_COUNTER protocol,
    we get a _NET_WM_FRAME_DRAWN message for each frame we draw. Use this
    to synchronize the updates we are doing with the compositing manager's
    drawing, and ultimately with with display refresh.
    
    We now set the sync request counters on all windows, including
    override-redirect windows, since it is also useful to do synchronized,
    atomic updates for such windows.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685460
    8a6895fe