Merge lp:~didrocks/unity/edge-intellihide-false-positive into lp:unity

Proposed by Didier Roche-Tolomelli
Status: Merged
Merged at revision: 1114
Proposed branch: lp:~didrocks/unity/edge-intellihide-false-positive
Merge into: lp:unity
Diff against target: 15 lines (+5/-0)
1 file modified
src/Launcher.cpp (+5/-0)
To merge this branch: bzr merge lp:~didrocks/unity/edge-intellihide-false-positive
Reviewer Review Type Date Requested Status
Jason Smith (community) Approve
Review via email: mp+57203@code.launchpad.net

Description of the change

reset MOUSE_OVER_ACTIVE_EDGE activation in some corner case (LP: #757810)

To post a comment you must log in.
Revision history for this message
Jason Smith (jassmith) wrote :

+1 looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Launcher.cpp'
2--- src/Launcher.cpp 2011-04-11 09:23:51 +0000
3+++ src/Launcher.cpp 2011-04-11 17:48:34 +0000
4@@ -797,6 +797,11 @@
5 // avoid a race when the BFB doesn't see we are not over the trigger anymore
6 _hide_machine->SetQuirk (LauncherHideMachine::MOUSE_OVER_TRIGGER, false);
7 }
8+ else
9+ {
10+ // reset if x=0 and go to the bfb and other corner case
11+ _hide_machine->SetQuirk (LauncherHideMachine::MOUSE_OVER_ACTIVE_EDGE, false);
12+ }
13 }
14
15 void Launcher::SetStateMouseOverBFB (bool over_bfb)