Merge lp:~azzar1/unity/fix-769335 into lp:unity

Proposed by Andrea Azzarone
Status: Merged
Merged at revision: 1216
Proposed branch: lp:~azzar1/unity/fix-769335
Merge into: lp:unity
Diff against target: 14 lines (+3/-1)
1 file modified
src/Launcher.cpp (+3/-1)
To merge this branch: bzr merge lp:~azzar1/unity/fix-769335
Reviewer Review Type Date Requested Status
Jason Smith (community) Approve
Review via email: mp+63245@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jason Smith (jassmith) wrote :

+1 excellent workaround with a solid comment

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-06-01 15:26:13 +0000
3+++ src/Launcher.cpp 2011-06-02 15:05:59 +0000
4@@ -1749,7 +1749,9 @@
5 self->_hover_machine->SetQuirk (LauncherHoverMachine::PLACES_VISIBLE, false);
6
7 // as the leave event is no more received when the place is opened
8- self->SetStateMouseOverLauncher (false);
9+ // FIXME: remove when we change the mouse grab strategy in nux
10+ self->SetStateMouseOverLauncher (pointerX < self->GetAbsoluteGeometry ().x + self->GetGeometry ().width &&
11+ pointerY >= self->GetAbsoluteGeometry ().y);
12 self->SetStateMouseOverBFB (false);
13
14 // TODO: add in a timeout for seeing the animation (and make it smoother)