Comment 1 for bug 1108956

Revision history for this message
Romain Perier (rperier) wrote :

What I suggest:

1. Put LensBar::getActiveLensId() public
2. Use the previous method to get the current lens id from dash/DashView.cpp:OnActivateRequest
3. If the dash if visible && the event is of type NOT_HANDLED && the new lens id is != the current lens id : switch to the lens instead of closing the dash, otherwise close the dash.