ozone: dri: Fix cursor starting at 0,0 instead of display center
commitb55eedab263da63c025e581073caeda9dc0c02ab
authorspang <spang@chromium.org>
Wed, 3 Dec 2014 18:24:49 +0000 (3 10:24 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Dec 2014 18:25:22 +0000 (3 18:25 +0000)
tree83e96a06af8750961df25aae2ce2c8bf4f766464
parentd014c9b5c79c044d471634adb30edd597ebdaf67
ozone: dri: Fix cursor starting at 0,0 instead of display center

Ash is warping the cursor to 0,0 in PostDisplayConfigurationChange
because that's where it thinks the cursor is supposed to be.

We're not reporting a mouse move for the initial placement, but need to
so that ash can restore state after config changes.

BUG=438432
TEST=manual on link_freon

Review URL: https://codereview.chromium.org/774733003

Cr-Commit-Position: refs/heads/master@{#306631}
ui/ozone/platform/dri/dri_window_manager.cc