Merge lp:~townsend/unity/fix-active-blur-regression into lp:unity
Proposed by
Christopher Townsend
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3527 |
Proposed branch: | lp:~townsend/unity/fix-active-blur-regression |
Merge into: | lp:unity |
Diff against target: |
17 lines (+6/-1) 1 file modified
plugins/unityshell/src/unityshell.cpp (+6/-1) |
To merge this branch: | bzr merge lp:~townsend/unity/fix-active-blur-regression |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Brandon Schaefer (community) | Approve | ||
Review via email: mp+186856@code.launchpad.net |
Commit message
A regression caused by revno. 3515 breaks the recently fixed Quicklist and Tooltip active blur. This fixes it by checking if the View is a ViewWindow and if so, use QueueDraw() instead of NeedSoftRedraw().
Description of the change
= Issue =
A recent commit (revno. 3515) caused a regression in the recently fixed active blur for Quicklists and Tooltips.
= Fix =
The change to use NeedSoftRedraw() did not cause a new draw of the Quicklists or Tooltips, so no updated blur was occurring. Now check if the View is a ViewWindow and if so, use QueueDraw() instead. Otherwise, still use NeedSoftRedraw().
To post a comment you must log in.
LGTM