Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Issue 896343002: ozone: dri: Re-add call to show cursor after bounds change (Closed)

Created:
5 years, 10 months ago by spang
Modified:
5 years, 10 months ago
Reviewers:
pkotwicz, dnicoara
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: dri: Re-add call to show cursor after bounds change This fixes some cases of the cursor disappearing temporarily after a bounds change that started after r313336 ("Constrain the cursor when overscan insets are set"). We hide the cursor during bounds changes, so we must make sure to show it again afterwards. BUG=427619 TEST=On link_freon, change the display resolution via Ctrl+Shift+Plus or Ctrl+Shift+Minus, and make sure the cursor is visible afterwards. Committed: https://crrev.com/82483b002d360b8eb1737f3a4ac83839721d5b19 Cr-Commit-Position: refs/heads/master@{#314862}

Patch Set 1 #

Total comments: 2

Patch Set 2 : GetCursorConfinedBounds() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M ui/ozone/platform/dri/dri_window.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
spang
5 years, 10 months ago (2015-02-04 23:39:30 UTC) #2
spang
5 years, 10 months ago (2015-02-05 15:39:03 UTC) #4
pkotwicz
https://codereview.chromium.org/896343002/diff/1/ui/ozone/platform/dri/dri_window.cc File ui/ozone/platform/dri/dri_window.cc (right): https://codereview.chromium.org/896343002/diff/1/ui/ozone/platform/dri/dri_window.cc#newcode183 ui/ozone/platform/dri/dri_window.cc:183: cursor_->ConfineCursorToBounds(widget_, bounds_); I would remove the early return in ...
5 years, 10 months ago (2015-02-05 15:44:53 UTC) #5
spang
https://codereview.chromium.org/896343002/diff/1/ui/ozone/platform/dri/dri_window.cc File ui/ozone/platform/dri/dri_window.cc (right): https://codereview.chromium.org/896343002/diff/1/ui/ozone/platform/dri/dri_window.cc#newcode183 ui/ozone/platform/dri/dri_window.cc:183: cursor_->ConfineCursorToBounds(widget_, bounds_); On 2015/02/05 15:44:53, pkotwicz wrote: > I ...
5 years, 10 months ago (2015-02-05 16:16:39 UTC) #6
pkotwicz
AshWindowTreeHostOzone::SetBounds() calls ConfineCursorToRootWindow() so it is unnecessary to call DriCursor::ConfineCursorToBounds() from DriWindow::SetBounds() Of course, my ...
5 years, 10 months ago (2015-02-05 16:22:02 UTC) #7
spang
On 2015/02/05 16:22:02, pkotwicz wrote: > AshWindowTreeHostOzone::SetBounds() calls ConfineCursorToRootWindow() so it is > unnecessary to ...
5 years, 10 months ago (2015-02-05 16:24:04 UTC) #8
pkotwicz
lgtm
5 years, 10 months ago (2015-02-05 16:26:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896343002/20001
5 years, 10 months ago (2015-02-05 19:20:48 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-05 19:57:11 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 19:59:14 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/82483b002d360b8eb1737f3a4ac83839721d5b19
Cr-Commit-Position: refs/heads/master@{#314862}

Powered by Google App Engine
This is Rietveld 408576698