• domlaskowski's avatar
    exo: Fix multi-display cursor crash · 8d03afaa
    domlaskowski authored
    The cursor surface is parented to the primary root window, which may
    change when using multiple displays. This CL fixes a crash caused by
    removing the child from the primary root window when the parent is a
    different root window or the child is orphaned.
    
    BUG=714832
    TEST=No crashes after changing primary display.
    
    Review-Url: https://codereview.chromium.org/2862953002
    Cr-Commit-Position: refs/heads/master@{#469543}
    8d03afaa
pointer.cc 13.3 KB