Merge lp:~dyams/unity-2d/launcher-reveal-mouse-topleftcorner into lp:unity-2d

Proposed by Lohith D Shivamurthy
Status: Merged
Approved by: Gerry Boland
Approved revision: 781
Merged at revision: 781
Proposed branch: lp:~dyams/unity-2d/launcher-reveal-mouse-topleftcorner
Merge into: lp:unity-2d
Diff against target: 12 lines (+1/-1)
1 file modified
libunity-2d-private/src/edgehitdetector.cpp (+1/-1)
To merge this branch: bzr merge lp:~dyams/unity-2d/launcher-reveal-mouse-topleftcorner
Reviewer Review Type Date Requested Status
Gerry Boland (community) Approve
Review via email: mp+82543@code.launchpad.net

Commit message

[launcher] Mouse hover at left edge of panel should not reveal launcher

To post a comment you must log in.
Revision history for this message
Gerry Boland (gerboland) wrote :

Looks good, merged. Thank you!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libunity-2d-private/src/edgehitdetector.cpp'
2--- libunity-2d-private/src/edgehitdetector.cpp 2011-11-14 10:45:33 +0000
3+++ libunity-2d-private/src/edgehitdetector.cpp 2011-11-17 14:50:18 +0000
4@@ -54,7 +54,7 @@
5 QPoint p = QApplication::isLeftToRight() ?
6 QPoint() :
7 QPoint(QApplication::desktop()->width() - 1, 0);
8- QRect rect = QApplication::desktop()->screenGeometry(p);
9+ QRect rect = QApplication::desktop()->availableGeometry(p);
10 if (QApplication::isLeftToRight()) {
11 m_mouseArea->setGeometry(rect.left(), rect.top(), 1, rect.height());
12 } else {

Subscribers

People subscribed via source and target branches