Merge lp:~sao/unity/doubleclick_on_panel_to_unmaximize into lp:unity
Proposed by
Oliver Sauder
Status: | Merged |
---|---|
Merged at revision: | 918 |
Proposed branch: | lp:~sao/unity/doubleclick_on_panel_to_unmaximize |
Merge into: | lp:unity |
Diff against target: |
34 lines (+3/-3) 2 files modified
src/PanelTitlebarGrabAreaView.cpp (+2/-2) src/PanelTitlebarGrabAreaView.h (+1/-1) |
To merge this branch: | bzr merge lp:~sao/unity/doubleclick_on_panel_to_unmaximize |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
Review via email: mp+52150@code.launchpad.net |
Description of the change
The mouse events from the Nux InputArea seem to be a bit "bumpy" (also mentioned in some FIXME in the unity code).
The OnMouseClick is only emitted when _event_
Therefore, as a workaround I've replaced the OnMouseClick event with OnMouseUp to implement the double click behavior. In the long run I suppose it would be desirable to fix the mouse events in Nux.
To post a comment you must log in.
right about the FIXME, I had to do that manually in the code as you have been able to know. :)
Nice track about the _event_ processor. MouseIn( )! So let's go with OnMouseUp now! Approved! Thanks a bunch :)