• reveman's avatar
    exo: Implement lazy cursor changes. · 70baca1c
    reveman authored
    Pointer::SetCursor() is now required to be called in response to
    focus change events. This provides more seamless cursor changes
    as the cursor will remain the same until it has been re-defined.
    
    Simply clients that never define the cursor will now get the
    default cursor instead of no cursor at all. Clients that draw
    their own cursor now have a chance to provide a new frame before
    the cursor is changed.
    
    BUG=549781
    
    Review-Url: https://codereview.chromium.org/2028443002
    Cr-Commit-Position: refs/heads/master@{#396919}
    70baca1c
surface.h 12.3 KB