Merge lp:~3v1n0/unity/panel-grab-offset-fix into lp:unity
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Andrea Azzarone |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3084 |
Proposed branch: | lp:~3v1n0/unity/panel-grab-offset-fix |
Merge into: | lp:unity |
Diff against target: |
274 lines (+95/-45) 4 files modified
panel/PanelMenuView.cpp (+3/-4) tests/test_panel_menu_view.cpp (+74/-23) unity-shared/StandaloneWindowManager.cpp (+11/-13) unity-shared/StandaloneWindowManager.h (+7/-5) |
To merge this branch: | bzr merge lp:~3v1n0/unity/panel-grab-offset-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Azzarone (community) | Approve | ||
PS Jenkins bot | continuous-integration | Pending | |
Review via email:
|
Commit message
PanelMenuView: restore a grabbed window taking care of the panel offset
Description of the change
Take care of the offset of the panel when defining the new geometry of a restored window by mouse grabbing.
Added tests... (a nice example - considering that this needed lp:~3v1n0/unity/standalone-wm-properties as well - how to generate hundreds of lines of diffs, just for testing an one-line-change ;-) )
To post a comment you must log in.
Fix the problems here. All the tests pass.