~iaz/unity/menubar-lp789979

« back to all changes in this revision

Viewing changes to panel/PanelMenuView.cpp

  • Committer: ivan.a.zorin at gmail
  • Date: 2012-06-03 19:32:07 UTC
  • Revision ID: ivan.a.zorin@gmail.com-20120603193207-if8dw79jy0aibzsg
Show application-related menu constantly if menus_fadeout = 0 in settings

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
 
336
336
bool PanelMenuView::DrawMenus() const
337
337
{
 
338
  if (_menus_fadeout == 0)
 
339
  {
 
340
    return true;
 
341
  }
 
342
 
338
343
  auto wm = WindowManager::Default();
339
344
  bool screen_grabbed = (wm->IsExpoActive() || wm->IsScaleActive());
340
345