~saviq/unity-2d/unmaximize-on-drag

« back to all changes in this revision

Viewing changes to panel/applets/appname/appnameapplet.cpp

  • Committer: Michał Sawicz
  • Date: 2011-05-14 21:01:08 UTC
  • Revision ID: michal@sawicz.net-20110514210108-d7630tptbqgwtw5x
Unmaximize windows when their menubar is dragged down from the panel

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
            q, SLOT(updateWidgets()));
180
180
        QObject::connect(m_menuBarWidget, SIGNAL(menuBarDblClicked()),
181
181
            m_windowHelper, SLOT(unmaximize()));
 
182
        QObject::connect(m_menuBarWidget, SIGNAL(menuBarDragged()),
 
183
            m_windowHelper, SLOT(unmaximize()));
182
184
    }
183
185
 
184
186
    void setupKeyboardModifiersMonitor()