Merge lp:~mc-return/unity/unity.merge-fix-launcher-should-never-autohide-when-pointer-hovers-it into lp:unity
Status: | Work in progress |
---|---|
Proposed branch: | lp:~mc-return/unity/unity.merge-fix-launcher-should-never-autohide-when-pointer-hovers-it |
Merge into: | lp:unity |
Diff against target: |
33 lines (+2/-7) 2 files modified
launcher/LauncherHideMachine.cpp (+2/-5) launcher/LauncherHideMachine.h (+0/-2) |
To merge this branch: | bzr merge lp:~mc-return/unity/unity.merge-fix-launcher-should-never-autohide-when-pointer-hovers-it |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity Team | Pending | ||
Review via email: mp+123231@code.launchpad.net |
Commit message
Simplified the check if the launcher should hide again once it is revealed. It should never hide if
1. VISIBLE_REQUIRED is true or
2. MOUSE_OVER_LAUNCHER is true
There is no need to check for movement of the mouse (which is set to true once decaymulator_.value > reveal_pressure)
Also removed remains of the hide_modes DODGE_WINDOWS and DODGE_ACTIVE_WINDOW forgotten in rev1933, which removed the dodge window modes.
Unmerged revisions
- 2662. By MC Return
-
Removed DODGE_WINDOWS and DODGE_ACTIVE_WINDOW because these modes are not available anymore
- 2661. By MC Return
-
More simplifying for better readability
- 2660. By MC Return
-
Fixed usage of the uninitialized variable _should_show_quirk
- 2659. By MC Return
-
Rebased on latest lp:unity
- 2658. By MC Return
-
Simplify the check if the launcher should hide again once it is revealed. It should never hide if
1. _should_show_quirk is true or
2. VISIBLE_REQUIRED is true or
3. MOUSE_OVER_LAUNCHER is trueThere is no need to check for movement of the mouse (which is set to true once decaymulator_.value > reveal_pressure)
Simplifies the check if the launcher should hide again once it is revealed. It should never hide if
1. _should_show_quirk is true or
2. VISIBLE_REQUIRED is true or
3. MOUSE_OVER_LAUNCHER is true
There is no need to check for movement of the mouse (which is set to true once decaymulator_.value > reveal_pressure)