Merge lp:~saviq/unity-2d/titlebar-dblclick into lp:unity-2d
Proposed by
Michał Sawicz
Status: | Merged |
---|---|
Approved by: | Alberto Mardegan |
Approved revision: | 740 |
Merged at revision: | 739 |
Proposed branch: | lp:~saviq/unity-2d/titlebar-dblclick |
Merge into: | lp:unity-2d |
Diff against target: |
151 lines (+80/-0) 4 files modified
panel/applets/appname/appnameapplet.cpp (+41/-0) panel/applets/appname/appnameapplet.h (+7/-0) panel/applets/appname/windowhelper.cpp (+29/-0) panel/applets/appname/windowhelper.h (+3/-0) |
To merge this branch: | bzr merge lp:~saviq/unity-2d/titlebar-dblclick |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Mardegan (community) | Approve | ||
Łukasz Zemczak | Approve | ||
Gerry Boland (community) | Approve | ||
Ugo Riboni | Pending | ||
Review via email: mp+76759@code.launchpad.net |
Commit message
[panel] double click or drag titleBar to unmaximize
To post a comment you must log in.
Great work, Michał!
The double click part seems to work quite reliably; however, I noticed a very strange behaviour with the dragging: if you drag the mouse cursor over the indicators (be it the applets, or the application menus) and then continue dragging down and immediately stop as soon as the window gets unmaximized, the mouse cursor remains in its "dragging" form, and all keyboard input seems to be disabled (for instance, you cannot switch desktop with Ctrl+Alt+Right) except for the ESC key, which brings the window back to the maximized mode.
Also, please adjust the coding style to put "*" and "&" next to the type name, and not next to the variable name.