• Mitsuru Oshima's avatar
    Do not move the cursor if the cursor is invisible · ccfa74c4
    Mitsuru Oshima authored
    Do not move the cursor if the cursor is invisible
    when display configuration is changed. This was to
    make sure that X11's cursor stays inside a display, as
    reconfiguring display can potentially move the cursor
    to outside of displays.
    
    I think this is no longer a concern, and I'll
    replace this with just a notification after merged to 65.
    
    This also fixes the test harness that assumes the cursor
    is visible by default but wasn't.
    
    BUG=773479
    TEST=covered by unit test. also tested on device.
    
    Change-Id: I7debc957145318352f7ee3c858031091eb2a8e56
    Reviewed-on: https://chromium-review.googlesource.com/890056
    Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
    Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#533720}
    ccfa74c4
ash_test_helper.cc 12.2 KB